diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-02-11 07:02:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 07:02:01 (GMT) |
commit | 3f8d181446aa9d87e3773896c2695161ea8f6e42 (patch) | |
tree | 763ed4ad8ff3f0ef1c7a01ae81dbfff0c9a7da10 /Doc/library/weakref.rst | |
parent | c372f9b9e758a22608b8df33423b7413d224fdad (diff) | |
download | cpython-3f8d181446aa9d87e3773896c2695161ea8f6e42.zip cpython-3f8d181446aa9d87e3773896c2695161ea8f6e42.tar.gz cpython-3f8d181446aa9d87e3773896c2695161ea8f6e42.tar.bz2 |
bpo-38374: Remove weakref.ReferenceError from docs (GH-18452)
Reflecting changes to the code, removed weakref.ReferenceError from weakref.rst and exceptions.rst.
Issue submitter provided evidence that the `weakref.ReferenceError` alias for `ReferenceError` was removed from the code in 2007. Working with @gvanrossum at PyCascades CPython sprint we looked at the code and confirmed that `weakref.ReferenceError` was no longer in `weakref.py`.
Based on that analysis I removed references `weakref.ReferenceError` from the two documents where it was still being referenced: `weakref.rst` and `exceptions.rst`.
https://bugs.python.org/issue38374
(cherry picked from commit 4eb9f4313cfaea6a9611221024a1c54f5662cc37)
Co-authored-by: Roger Hurwitz <rogerhurwitz@gmail.com>
Diffstat (limited to 'Doc/library/weakref.rst')
-rw-r--r-- | Doc/library/weakref.rst | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst index b3c8e35..2dbe5e3 100644 --- a/Doc/library/weakref.rst +++ b/Doc/library/weakref.rst @@ -327,12 +327,6 @@ objects. types. -.. exception:: ReferenceError - - Exception raised when a proxy object is used but the underlying object has been - collected. This is the same as the standard :exc:`ReferenceError` exception. - - .. seealso:: :pep:`205` - Weak References |