]> granicus.if.org Git - python/commitdiff
bpo-30499: Remove a deprecated note about sets. (GH-1848) (GH-1905)
authorMariatta <Mariatta@users.noreply.github.com>
Thu, 1 Jun 2017 14:12:01 +0000 (07:12 -0700)
committerGitHub <noreply@github.com>
Thu, 1 Jun 2017 14:12:01 +0000 (07:12 -0700)
(cherry picked from commit 0737ee20671d60802a7ef40f653fe449f1921de0)

Doc/library/stdtypes.rst

index 4272b96fecfa21b92c4e36ba07bd2226f7e34062..81146f417849762888adea386afe3bc9760211d0 100644 (file)
@@ -3982,9 +3982,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: