]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38374: Remove weakref.ReferenceError from docs (GH-18452)
authorRoger Hurwitz <rogerhurwitz@gmail.com>
Tue, 11 Feb 2020 06:56:02 +0000 (22:56 -0800)
committerGitHub <noreply@github.com>
Tue, 11 Feb 2020 06:56:02 +0000 (22:56 -0800)
commit4eb9f4313cfaea6a9611221024a1c54f5662cc37
treef9afcab3cd685ec312db18792ff6f8e5f49d8140
parent96ce22706735779cf8cc46eaaa5ac61359364b5a
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
Doc/c-api/exceptions.rst
Doc/library/weakref.rst