diff --git a/peps/pep-0749.rst b/peps/pep-0749.rst index b6c8eaf3aab..67d3fbf1a6c 100644 --- a/peps/pep-0749.rst +++ b/peps/pep-0749.rst @@ -76,9 +76,11 @@ We suggest the following deprecation plan: - In Python 3.14, ``from __future__ import annotations`` will continue to work as it did before, converting annotations into strings. + - If the future import is active, the ``__annotate__`` function of objects with annotations will return the annotations as strings when called with the ``VALUE`` format, reflecting the behavior of ``__annotations__``. + - Sometime after the last release that did not support :pep:`649` semantics (expected to be 3.13) reaches its end-of-life, ``from __future__ import annotations`` is deprecated. Compiling any code that uses the future import will emit a :py:exc:`DeprecationWarning`. This will