summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authormeowmeowmeowcat <meowmeowcat1211@gmail.com>2021-08-09 12:01:30 (GMT)
committerGitHub <noreply@github.com>2021-08-09 12:01:30 (GMT)
commit03e5647ab07c7d2a05094fc3b5ed6eba6fc01349 (patch)
tree06d94515bbd837b028d6515eeeb676a8019c66c0 /Doc
parenteb2d4a66ff07aa6e51cfaaa31afed31addf76936 (diff)
downloadcpython-03e5647ab07c7d2a05094fc3b5ed6eba6fc01349.zip
cpython-03e5647ab07c7d2a05094fc3b5ed6eba6fc01349.tar.gz
cpython-03e5647ab07c7d2a05094fc3b5ed6eba6fc01349.tar.bz2
bpo-44702: Remove ambiguity in sentence (GH-27676)
Automerge-Triggered-By: GH:pablogsal
Diffstat (limited to 'Doc')
-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 b88543e..5a8df4c 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.