mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Merge doc and comment fixes from 3.5
This commit is contained in:
commit
abe4d52a1a
11 changed files with 15 additions and 15 deletions
|
@ -3925,7 +3925,7 @@ _PyObject_GetState(PyObject *obj, int required)
|
|||
}
|
||||
}
|
||||
|
||||
/* The list is stored on the class so it may mutates while we
|
||||
/* The list is stored on the class so it may mutate while we
|
||||
iterate over it */
|
||||
if (slotnames_size != Py_SIZE(slotnames)) {
|
||||
PyErr_Format(PyExc_RuntimeError,
|
||||
|
@ -4059,7 +4059,7 @@ _PyObject_GetNewArguments(PyObject *obj, PyObject **args, PyObject **kwargs)
|
|||
}
|
||||
|
||||
/* The object does not have __getnewargs_ex__ and __getnewargs__. This may
|
||||
means __new__ does not takes any arguments on this object, or that the
|
||||
mean __new__ does not takes any arguments on this object, or that the
|
||||
object does not implement the reduce protocol for pickling or
|
||||
copying. */
|
||||
*args = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue