Skip to content

Commit 68041e0

Browse files
Fix the documentation for set.copy() (GH-12176)
Remove 's' mention as there's no argument. (cherry picked from commit e942e7b) Co-authored-by: Andre Delfino <adelfino@gmail.com>
1 parent 098b139 commit 68041e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/stdtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1909,7 +1909,7 @@ The constructors for both classes work the same:
19091909

19101910
.. method:: copy()
19111911

1912-
Return a new set with a shallow copy of *s*.
1912+
Return a shallow copy of the set.
19131913

19141914

19151915
Note, the non-operator versions of :meth:`union`, :meth:`intersection`,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy