From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 10 Jun 2018 01:01:36 +0000 (-0700) Subject: Fix typo in object.__getnewargs__() documentation (GH-7554) X-Git-Tag: v3.7.0rc1~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92a58417b32a45b0fb171546e39bfae8b7c4fcda;p=thirdparty%2FPython%2Fcpython.git Fix typo in object.__getnewargs__() documentation (GH-7554) (cherry picked from commit 0e0534c4024c181aa47a300142c59eeeee71db46) Co-authored-by: Andrés Delfino --- diff --git a/Doc/library/pickle.rst b/Doc/library/pickle.rst index d0c4cf937c8a..2b10ee2eb8ee 100644 --- a/Doc/library/pickle.rst +++ b/Doc/library/pickle.rst @@ -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.