[Python-checkins] Fix typo in object.__getnewargs__() documentation (GH-7554)

Berker Peksag webhook-mailer at python.org
Sat Jun 9 20:41:12 EDT 2018


https://github.com/python/cpython/commit/0e0534c4024c181aa47a300142c59eeeee71db46
commit: 0e0534c4024c181aa47a300142c59eeeee71db46
branch: master
author: Andrés Delfino <adelfino at gmail.com>
committer: Berker Peksag <berker.peksag at gmail.com>
date: 2018-06-10T03:41:09+03:00
summary:

Fix typo in object.__getnewargs__() documentation (GH-7554)

files:
M Doc/library/pickle.rst

diff --git a/Doc/library/pickle.rst b/Doc/library/pickle.rst
index ea854fae1944..4f9d3596b649 100644
--- a/Doc/library/pickle.rst
+++ b/Doc/library/pickle.rst
@@ -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.
 



More information about the Python-checkins mailing list