Skip to content

Commit cde19e5

Browse files
authored
GH-101100: Resolve reference warnings in library/stdtypes.rst (#138420)
1 parent d4e3829 commit cde19e5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Doc/library/stdtypes.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4755,11 +4755,12 @@ other sequence-like behavior.
47554755

47564756
There are currently two built-in set types, :class:`set` and :class:`frozenset`.
47574757
The :class:`set` type is mutable --- the contents can be changed using methods
4758-
like :meth:`~set.add` and :meth:`~set.remove`. Since it is mutable, it has no
4759-
hash value and cannot be used as either a dictionary key or as an element of
4760-
another set. The :class:`frozenset` type is immutable and :term:`hashable` ---
4761-
its contents cannot be altered after it is created; it can therefore be used as
4762-
a dictionary key or as an element of another set.
4758+
like :meth:`add <frozenset.add>` and :meth:`remove <frozenset.add>`.
4759+
Since it is mutable, it has no hash value and cannot be used as
4760+
either a dictionary key or as an element of another set.
4761+
The :class:`frozenset` type is immutable and :term:`hashable` ---
4762+
its contents cannot be altered after it is created;
4763+
it can therefore be used as a dictionary key or as an element of another set.
47634764

47644765
Non-empty sets (not frozensets) can be created by placing a comma-separated list
47654766
of elements within braces, for example: ``{'jack', 'sjoerd'}``, in addition to the

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Doc/library/pyexpat.rst
2929
Doc/library/select.rst
3030
Doc/library/socket.rst
3131
Doc/library/ssl.rst
32-
Doc/library/stdtypes.rst
3332
Doc/library/termios.rst
3433
Doc/library/test.rst
3534
Doc/library/tkinter.rst

0 commit comments

Comments
 (0)