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 <[email protected]>
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)