PEP 749: Make one point more explicit (#3816)

This commit is contained in:
Jelle Zijlstra 2024-06-04 20:00:15 -07:00 committed by GitHub
parent 6a3075f867
commit 7c738cacf5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -215,6 +215,10 @@ This function is a wrapper around the ``ForwardRef.evaluate`` method, but it per
additional work that is specific to type hints. For example, it recurses into complex
types and evaluates additional forward references within these types.
Contrary to :pep:`649`, the annotation formats (``VALUE``, ``FORWARDREF``, and ``SOURCE``)
will not be added as global members of the :py:mod:`inspect` module. The only recommended
way to refer to these constants will be as ``annotations.Format.VALUE``.
Open issues
-----------