From 03e5647ab07c7d2a05094fc3b5ed6eba6fc01349 Mon Sep 17 00:00:00 2001 From: meowmeowmeowcat Date: Mon, 9 Aug 2021 20:01:30 +0800 Subject: bpo-44702: Remove ambiguity in sentence (GH-27676) Automerge-Triggered-By: GH:pablogsal --- Doc/library/weakref.rst | 6 +++--- 1 file 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 `, :term:`generators `, +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 `, :term:`generators `, type objects, sockets, arrays, deques, regular expression pattern objects, and code objects. -- cgit v0.12