[Python-checkins] Fix typo in object.__getnewargs__() documentation (GH-7554)
Miss Islington (bot)
webhook-mailer at python.org
Sat Jun 9 21:00:51 EDT 2018
https://github.com/python/cpython/commit/a5f0a8eeab21071208d857196180f0d24bd4919a
commit: a5f0a8eeab21071208d857196180f0d24bd4919a
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-06-09T18:00:47-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.
More information about the Python-checkins
mailing list