[Python-checkins] Fix the documentation for set.copy() (GH-12176)

Serhiy Storchaka webhook-mailer at python.org
Thu Mar 7 00:23:25 EST 2019


https://github.com/python/cpython/commit/e942e7b5c91995ae1ad967ef2c0f116a5d8555de
commit: e942e7b5c91995ae1ad967ef2c0f116a5d8555de
branch: master
author: Andre Delfino <adelfino at gmail.com>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2019-03-07T07:23:21+02:00
summary:

Fix the documentation for set.copy() (GH-12176)

Remove 's' mention as there's no argument.

files:
M Doc/library/stdtypes.rst

diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index d1b1b8c636e9..c9fbfd098f2c 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -4020,7 +4020,7 @@ The constructors for both classes work the same:
 
    .. method:: copy()
 
-      Return a new set with a shallow copy of *s*.
+      Return a shallow copy of the set.
 
 
    Note, the non-operator versions of :meth:`union`, :meth:`intersection`,



More information about the Python-checkins mailing list