mirror of
https://github.com/python/cpython.git
synced 2026-05-07 02:51:00 +00:00
Fix typo in object.__getnewargs__() documentation (GH-7554)
(cherry picked from commit 0e0534c402)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
This commit is contained in:
parent
0cf58f494c
commit
92a58417b3
1 changed files with 1 additions and 1 deletions
|
|
@ -510,7 +510,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…
Add table
Add a link
Reference in a new issue