Skip to content

Commit 9d752aa

Browse files
authored
bpo-30499: Remove a deprecated note about sets. (GH-1848) (GH-1905)
(cherry picked from commit 0737ee2)
1 parent 9522159 commit 9d752aa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Doc/library/stdtypes.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3982,9 +3982,7 @@ The constructors for both classes work the same:
39823982

39833983
Note, the *elem* argument to the :meth:`__contains__`, :meth:`remove`, and
39843984
:meth:`discard` methods may be a set. To support searching for an equivalent
3985-
frozenset, the *elem* set is temporarily mutated during the search and then
3986-
restored. During the search, the *elem* set should not be read or mutated
3987-
since it does not have a meaningful value.
3985+
frozenset, a temporary one is created from *elem*.
39883986

39893987

39903988
.. _typesmapping:

0 commit comments

Comments
 (0)