]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] GH-101100: Resolve reference warnings in library/stdtypes.rst (GH-138420)...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 22 Nov 2025 19:33:09 +0000 (20:33 +0100)
committerGitHub <noreply@github.com>
Sat, 22 Nov 2025 19:33:09 +0000 (21:33 +0200)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Doc/library/stdtypes.rst
Doc/tools/.nitignore

index f8397b861d9a8b7a0533e8363efb2700563af530..2820ef8a1188cdcad8cc7a88febd7d62ad25dc9b 100644 (file)
@@ -4731,11 +4731,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
index a431e0b32ad6211be429f1d3fd0938fb1c9952ff..520e64f5fe13b94f112d51bc93c85f0c628bd5df 100644 (file)
@@ -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