From 0e0534c4024c181aa47a300142c59eeeee71db46 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9s=20Delfino?= Date: Sat, 9 Jun 2018 21:41:09 -0300 Subject: [PATCH] Fix typo in object.__getnewargs__() documentation (GH-7554) --- Doc/library/pickle.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/pickle.rst b/Doc/library/pickle.rst index ea854fae19..4f9d3596b6 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. -- 2.40.0