mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-126303: Fix pickling and copying of os.sched_param objects (GH-126336)
This commit is contained in:
parent
d960226547
commit
d3840503b0
5 changed files with 46 additions and 0 deletions
|
@ -7656,6 +7656,12 @@ type_add_method(PyTypeObject *type, PyMethodDef *meth)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
_PyType_AddMethod(PyTypeObject *type, PyMethodDef *meth)
|
||||
{
|
||||
return type_add_method(type, meth);
|
||||
}
|
||||
|
||||
|
||||
/* Add the methods from tp_methods to the __dict__ in a type object */
|
||||
static int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue