diff options
author | Georg Brandl <georg@python.org> | 2007-09-01 13:51:09 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-09-01 13:51:09 (GMT) |
commit | 55ac8f0f26efdbbcb5cc197f9369d23d50bee908 (patch) | |
tree | a0d5b7128c055d8c767652dc3948c3404be06396 /Doc/library/weakref.rst | |
parent | 1617457cff847fed9fadb01f1acf6ba8bb621726 (diff) | |
download | cpython-55ac8f0f26efdbbcb5cc197f9369d23d50bee908.zip cpython-55ac8f0f26efdbbcb5cc197f9369d23d50bee908.tar.gz cpython-55ac8f0f26efdbbcb5cc197f9369d23d50bee908.tar.bz2 |
Get rid of the remaining versionadded/versionchanged directives.
Diffstat (limited to 'Doc/library/weakref.rst')
-rw-r--r-- | Doc/library/weakref.rst | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst index c5857ba..44f8d96 100644 --- a/Doc/library/weakref.rst +++ b/Doc/library/weakref.rst @@ -10,8 +10,6 @@ .. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org> -.. versionadded:: 2.1 - The :mod:`weakref` module allows the Python programmer to create :dfn:`weak references` to objects. @@ -54,9 +52,6 @@ unbound), sets, frozensets, file objects, generators, type objects, DBcursor objects from the :mod:`bsddb` module, sockets, arrays, deques, and regular expression pattern objects. -.. versionchanged:: 2.4 - Added support for files, sockets, arrays, and patterns. - Several builtin types such as :class:`list` and :class:`dict` do not directly support weak references but can add support through subclassing:: @@ -97,9 +92,7 @@ Extension types can easily be made to support weak references; see referents (regardless of the *callback*). If either referent has been deleted, the references are equal only if the reference objects are the same object. - .. versionchanged:: 2.4 - This is now a subclassable type rather than a factory function; it derives from - :class:`object`. + This is a subclassable type rather than a factory function. .. function:: proxy(object[, callback]) @@ -152,15 +145,11 @@ than needed. Return an iterator that yields the weak references to the keys. - .. versionadded:: 2.5 - .. method:: WeakKeyDictionary.keyrefs() Return a list of weak references to the keys. - .. versionadded:: 2.5 - .. class:: WeakValueDictionary([dict]) @@ -184,15 +173,11 @@ methods of :class:`WeakKeyDictionary` objects. Return an iterator that yields the weak references to the values. - .. versionadded:: 2.5 - .. method:: WeakValueDictionary.valuerefs() Return a list of weak references to the values. - .. versionadded:: 2.5 - .. data:: ReferenceType |