]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix the documentation for set.copy() (GH-12176)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 7 Mar 2019 05:29:48 +0000 (21:29 -0800)
committerGitHub <noreply@github.com>
Thu, 7 Mar 2019 05:29:48 +0000 (21:29 -0800)
Remove 's' mention as there's no argument.
(cherry picked from commit e942e7b5c91995ae1ad967ef2c0f116a5d8555de)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
Doc/library/stdtypes.rst

index ff68738abcdad6024ebb17a1a0a9f52131c57cee..b4fe19a5f0818a7e4e2d985cc13c14443aac2d48 100644 (file)
@@ -1909,7 +1909,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`,