]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-44702: Remove ambiguity in sentence (GH-27676)
authormeowmeowmeowcat <meowmeowcat1211@gmail.com>
Mon, 9 Aug 2021 12:01:30 +0000 (20:01 +0800)
committerGitHub <noreply@github.com>
Mon, 9 Aug 2021 12:01:30 +0000 (05:01 -0700)
Automerge-Triggered-By: GH:pablogsal
Doc/library/weakref.rst

index b88543e44537231e20dfa94e7e4f68a683814bce..5a8df4c27dc377080bb19f32efa22d440f1fb0bb 100644 (file)
@@ -63,9 +63,9 @@ or :class:`finalize` is all they need -- it's not usually necessary to
 create your own weak references directly.  The low-level machinery is
 exposed by the :mod:`weakref` module for the benefit of advanced uses.
 
-Not all objects can be weakly referenced; those objects which can include class
-instances, functions written in Python (but not in C), instance methods, sets,
-frozensets, some :term:`file objects <file object>`, :term:`generators <generator>`,
+Not all objects can be weakly referenced. Objects which support weak references
+include class instances, functions written in Python (but not in C), instance methods,
+sets, frozensets, some :term:`file objects <file object>`, :term:`generators <generator>`,
 type objects, sockets, arrays, deques, regular expression pattern objects, and code
 objects.