https://github.com/python/cpython/commit/92a58417b32a45b0fb171546e39bfae8b7c4fcda commit: 92a58417b32a45b0fb171546e39bfae8b7c4fcda branch: 3.7 author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com> committer: GitHub <noreply at github.com> date: 2018年06月09日T18:01:36-07:00 summary: Fix typo in object.__getnewargs__() documentation (GH-7554) (cherry picked from commit 0e0534c4024c181aa47a300142c59eeeee71db46) Co-authored-by: Andrés Delfino <adelfino at gmail.com> files: M Doc/library/pickle.rst 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.