]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix the documentation for set.copy() (GH-12176)
authorAndre Delfino <adelfino@gmail.com>
Thu, 7 Mar 2019 05:23:21 +0000 (02:23 -0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Thu, 7 Mar 2019 05:23:21 +0000 (07:23 +0200)
Remove 's' mention as there's no argument.

Doc/library/stdtypes.rst

index d1b1b8c636e9d0d8c34e96356dd111bf39a6a0c7..c9fbfd098f2cf4801a508048f3e650153c8933c8 100644 (file)
@@ -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`,