Fix typo in object.__getnewargs__() documentation (GH-7554)

(cherry picked from commit 0e0534c402)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
This commit is contained in:
Miss Islington (bot) 2018-06-09 18:01:36 -07:00 committed by GitHub
parent 0cf58f494c
commit 92a58417b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.