Skip to content

Commit

Permalink
Fix the documentation for set.copy() (GH-12176)
Browse files Browse the repository at this point in the history
Remove 's' mention as there's no argument.
(cherry picked from commit e942e7b)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
  • Loading branch information
miss-islington and andresdelfino committed Mar 7, 2019
1 parent ca5ba3c commit bf44f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/stdtypes.rst
Expand Up @@ -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`,
Expand Down

0 comments on commit bf44f48

Please sign in to comment.