[Python-checkins] Fix the documentation for set.copy() (GH-12176)
Miss Islington (bot)
webhook-mailer at python.org
Thu Mar 7 00:30:36 EST 2019
https://github.com/python/cpython/commit/bf44f48b63c4896c4d744a5c5af7861f8e25ecea
commit: bf44f48b63c4896c4d744a5c5af7861f8e25ecea
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-03-06T21:30:33-08:00
summary:
Fix the documentation for set.copy() (GH-12176)
Remove 's' mention as there's no argument.
(cherry picked from commit e942e7b5c91995ae1ad967ef2c0f116a5d8555de)
Co-authored-by: Andre Delfino <adelfino at gmail.com>
files:
M Doc/library/stdtypes.rst
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 057c5d5f35c0..c21cb0d9ea0f 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -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`,
More information about the Python-checkins
mailing list