Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions pep-0563.rst
Original file line number Diff line number Diff line change
Expand Up @@ -280,13 +280,7 @@ Deprecation policy
Starting with Python 3.7, a ``__future__`` import is required to use the
described functionality. No warnings are raised.

In Python 3.8 a ``PendingDeprecationWarning`` is raised by the
compiler in the presence of type annotations in modules without the
``__future__`` import.

Starting with Python 3.9 the warning becomes a ``DeprecationWarning``.

In Python 4.0 this will become the default behavior. Use of annotations
In Python 3.10 this will become the default behavior. Use of annotations
incompatible with this PEP is no longer supported.


Expand Down