mirror of
https://github.com/python/cpython.git
synced 2025-09-28 19:25:27 +00:00
bpo-30499: Remove a deprecated note about sets. (GH-1848)
This commit is contained in:
parent
0b4b57df96
commit
0737ee2067
1 changed files with 1 additions and 3 deletions
|
@ -3997,9 +3997,7 @@ The constructors for both classes work the same:
|
||||||
|
|
||||||
Note, the *elem* argument to the :meth:`__contains__`, :meth:`remove`, and
|
Note, the *elem* argument to the :meth:`__contains__`, :meth:`remove`, and
|
||||||
:meth:`discard` methods may be a set. To support searching for an equivalent
|
: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
|
frozenset, a temporary one is created from *elem*.
|
||||||
restored. During the search, the *elem* set should not be read or mutated
|
|
||||||
since it does not have a meaningful value.
|
|
||||||
|
|
||||||
|
|
||||||
.. _typesmapping:
|
.. _typesmapping:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue