Skip to content

Commit 0e0534c

Browse files
andresdelfinoberkerpeksag
authored andcommitted
Fix typo in object.__getnewargs__() documentation (GH-7554)
1 parent 0aa17ee commit 0e0534c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/pickle.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ methods:
518518

519519
.. method:: object.__getnewargs__()
520520

521-
This method serve a similar purpose as :meth:`__getnewargs_ex__`, but
521+
This method serves a similar purpose as :meth:`__getnewargs_ex__`, but
522522
supports only positional arguments. It must return a tuple of arguments
523523
``args`` which will be passed to the :meth:`__new__` method upon unpickling.
524524

0 commit comments

Comments
 (0)