From: Mariatta Date: Thu, 1 Jun 2017 14:12:09 +0000 (-0700) Subject: bpo-30499: Remove a deprecated note about sets. (GH-1848) (GH-1906) X-Git-Tag: v3.5.4rc1~117 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3419fc2bf1e81d42ef4578e59d3c10f9c239e80f;p=python bpo-30499: Remove a deprecated note about sets. (GH-1848) (GH-1906) (cherry picked from commit 0737ee20671d60802a7ef40f653fe449f1921de0) --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 87d8eb83e0..c4588f2438 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -3973,9 +3973,7 @@ The constructors for both classes work the same: Note, the *elem* argument to the :meth:`__contains__`, :meth:`remove`, and :meth:`discard` methods may be a set. To support searching for an equivalent - frozenset, the *elem* set is temporarily mutated during the search and then - restored. During the search, the *elem* set should not be read or mutated - since it does not have a meaningful value. + frozenset, a temporary one is created from *elem*. .. _typesmapping: