Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0737ee2

Browse files
JulienPalardMariatta
authored andcommittedJun 1, 2017
bpo-30499: Remove a deprecated note about sets. (pythonGH-1848)
1 parent 0b4b57d commit 0737ee2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎Doc/library/stdtypes.rst

+1-3
Original file line numberDiff line numberDiff line change
@@ -3997,9 +3997,7 @@ The constructors for both classes work the same:
39973997

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

40044002

40054003
.. _typesmapping:

0 commit comments

Comments
 (0)
Please sign in to comment.