Skip to content

Commit bf44f48

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 ca5ba3c commit bf44f48

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
@@ -3975,7 +3975,7 @@ The constructors for both classes work the same:
39753975

39763976
.. method:: copy()
39773977

3978-
Return a new set with a shallow copy of *s*.
3978+
Return a shallow copy of the set.
39793979

39803980

39813981
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