Fix typo in object.__getnewargs__() documentation (GH-7554)
This commit is contained in:
parent
0aa17ee6a7
commit
0e0534c402
|
@ -518,7 +518,7 @@ methods:
|
|||
|
||||
.. method:: object.__getnewargs__()
|
||||
|
||||
This method serve a similar purpose as :meth:`__getnewargs_ex__`, but
|
||||
This method serves a similar purpose as :meth:`__getnewargs_ex__`, but
|
||||
supports only positional arguments. It must return a tuple of arguments
|
||||
``args`` which will be passed to the :meth:`__new__` method upon unpickling.
|
||||
|
||||
|
|
Loading…
Reference in New Issue