Skip to content

Commit

Permalink
fix rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra committed Sep 24, 2024
1 parent aea52c7 commit 750b9e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions peps/pep-0749.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 750b9e5

Please sign in to comment.