mirror of
https://github.com/python/cpython.git
synced 2026-01-06 23:42:34 +00:00
Fix the documentation for set.copy() (GH-12176)
Remove 's' mention as there's no argument.
This commit is contained in:
parent
ecc161d120
commit
e942e7b5c9
1 changed files with 1 additions and 1 deletions
|
|
@ -4020,7 +4020,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`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue