Skip to content

Commit 662d856

Browse files
authored
bpo-30499: Remove a deprecated note about sets. (GH-1848) (GH-1907)
(cherry picked from commit 0737ee2)
1 parent 9139f23 commit 662d856

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
@@ -2004,9 +2004,7 @@ The constructors for both classes work the same:
20042004

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

20112009

20122010
.. seealso::

0 commit comments

Comments
 (0)