summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormeowmeowmeowcat <meowmeowcat1211@gmail.com>2021-08-09 20:01:30 +0800
committerGitHub <noreply@github.com>2021-08-09 05:01:30 -0700
commit03e5647ab07c7d2a05094fc3b5ed6eba6fc01349 (patch)
tree06d94515bbd837b028d6515eeeb676a8019c66c0
parenteb2d4a66ff07aa6e51cfaaa31afed31addf76936 (diff)
downloadcpython-git-03e5647ab07c7d2a05094fc3b5ed6eba6fc01349.tar.gz
bpo-44702: Remove ambiguity in sentence (GH-27676)
Automerge-Triggered-By: GH:pablogsal
-rw-r--r--Doc/library/weakref.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst
index b88543e445..5a8df4c27d 100644
--- a/Doc/library/weakref.rst
+++ b/Doc/library/weakref.rst
@@ -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.