https://github.com/python/cpython/commit/cde19e565cc9127fe5db38358ebf3bbd75a9d2cd
commit: cde19e565cc9127fe5db38358ebf3bbd75a9d2cd
branch: main
author: Adam Turner <[email protected]>
committer: AA-Turner <[email protected]>
date: 2025-11-22T19:23:29Z
summary:
GH-101100: Resolve reference warnings in library/stdtypes.rst (#138420)
files:
M Doc/library/stdtypes.rst
M Doc/tools/.nitignore
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 3bcaba0b3e1eba..f3a99c4448b9f3 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -4755,11 +4755,12 @@ other sequence-like behavior.
There are currently two built-in set types, :class:`set` and
:class:`frozenset`.
The :class:`set` type is mutable --- the contents can be changed using methods
-like :meth:`~set.add` and :meth:`~set.remove`. Since it is mutable, it has no
-hash value and cannot be used as either a dictionary key or as an element of
-another set. The :class:`frozenset` type is immutable and :term:`hashable` ---
-its contents cannot be altered after it is created; it can therefore be used as
-a dictionary key or as an element of another set.
+like :meth:`add <frozenset.add>` and :meth:`remove <frozenset.add>`.
+Since it is mutable, it has no hash value and cannot be used as
+either a dictionary key or as an element of another set.
+The :class:`frozenset` type is immutable and :term:`hashable` ---
+its contents cannot be altered after it is created;
+it can therefore be used as a dictionary key or as an element of another set.
Non-empty sets (not frozensets) can be created by placing a comma-separated
list
of elements within braces, for example: ``{'jack', 'sjoerd'}``, in addition to
the
diff --git a/Doc/tools/.nitignore b/Doc/tools/.nitignore
index a431e0b32ad621..520e64f5fe13b9 100644
--- a/Doc/tools/.nitignore
+++ b/Doc/tools/.nitignore
@@ -29,7 +29,6 @@ Doc/library/pyexpat.rst
Doc/library/select.rst
Doc/library/socket.rst
Doc/library/ssl.rst
-Doc/library/stdtypes.rst
Doc/library/termios.rst
Doc/library/test.rst
Doc/library/tkinter.rst
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]