summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrés Delfino <adelfino@gmail.com>2018-06-10 00:41:09 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2018-06-10 00:41:09 (GMT)
commit0e0534c4024c181aa47a300142c59eeeee71db46 (patch)
tree386747c4f69c15643f5e12e6af249c34468b389d /Doc
parent0aa17ee6a76df0946d42e7657a501f1862065a22 (diff)
downloadcpython-0e0534c4024c181aa47a300142c59eeeee71db46.zip
cpython-0e0534c4024c181aa47a300142c59eeeee71db46.tar.gz
cpython-0e0534c4024c181aa47a300142c59eeeee71db46.tar.bz2
Fix typo in object.__getnewargs__() documentation (GH-7554)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/pickle.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/pickle.rst b/Doc/library/pickle.rst
index ea854fa..4f9d359 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.