From 95d6e24814385f3953aa2e814bc9b07c94c31e5c Mon Sep 17 00:00:00 2001 From: Andre Delfino Date: Thu, 7 Mar 2019 02:23:21 -0300 Subject: [PATCH] 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 --- Doc/library/stdtypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 057c5d5f35c086..c21cb0d9ea0f4a 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`,