From 7c738cacf534582879de2c734c1cd85f586cfc99 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Tue, 4 Jun 2024 20:00:15 -0700 Subject: [PATCH] PEP 749: Make one point more explicit (#3816) --- peps/pep-0749.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/peps/pep-0749.rst b/peps/pep-0749.rst index 9b41cb19f..023681182 100644 --- a/peps/pep-0749.rst +++ b/peps/pep-0749.rst @@ -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 -----------