mirror of
https://github.com/python/cpython.git
synced 2025-12-05 00:52:25 +00:00
Fix typo in object.__getnewargs__() documentation (GH-7554)
This commit is contained in:
parent
0aa17ee6a7
commit
0e0534c402
1 changed files with 1 additions and 1 deletions
|
|
@ -518,7 +518,7 @@ methods:
|
||||||
|
|
||||||
.. method:: object.__getnewargs__()
|
.. 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
|
supports only positional arguments. It must return a tuple of arguments
|
||||||
``args`` which will be passed to the :meth:`__new__` method upon unpickling.
|
``args`` which will be passed to the :meth:`__new__` method upon unpickling.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue