bpo-45320: Remove long-deprecated inspect methods (GH-28618)

This commit is contained in:
Hugo van Kemenade 2021-10-20 21:48:55 +03:00 committed by GitHub
parent d8e1819251
commit d89fb9a5a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 48 additions and 260 deletions

View file

@ -567,9 +567,6 @@ expression. Currently the following are explicitly supported:
* Simple symbolic constants like ``sys.maxsize``, which must
start with the name of the module
In case you're curious, this is implemented in ``from_builtin()``
in ``Lib/inspect.py``.
(In the future, this may need to get even more elaborate,
to allow full expressions like ``CONSTANT - 1``.)