mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
[3.13] gh-126303: Fix pickling and copying of os.sched_param objects (GH-126336) (GH-126423)
(cherry picked from commit d3840503b0
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
parent
05da4eea5a
commit
ce1a1a6021
5 changed files with 46 additions and 0 deletions
|
@ -7332,6 +7332,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