diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst index b88543e4453..5a8df4c27dc 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.