From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 7 Mar 2019 05:29:48 +0000 (-0800) Subject: Fix the documentation for set.copy() (GH-12176) X-Git-Tag: v2.7.17rc1~129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68041e0f6bf005f4adfecd1f3ba567394b5de6cd;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index ff68738abcda..b4fe19a5f081 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -1909,7 +1909,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`,