]> 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:30:33 +0000 (21:30 -0800)
committerGitHub <noreply@github.com>
Thu, 7 Mar 2019 05:30:33 +0000 (21:30 -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 057c5d5f35c0866060deb88a26396f650fe7a7ef..c21cb0d9ea0f4ae13036571af0532d717e64e2bf 100644 (file)
@@ -3975,7 +3975,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`,