Skip to content

Commit d078f4b

Browse files
committed
Make from __future__ import annotations the default in Python 3.9
1 parent 9c0fb2a commit d078f4b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

pep-0563.rst

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -280,13 +280,7 @@ Deprecation policy
280280
Starting with Python 3.7, a ``__future__`` import is required to use the
281281
described functionality. No warnings are raised.
282282

283-
In Python 3.8 a ``PendingDeprecationWarning`` is raised by the
284-
compiler in the presence of type annotations in modules without the
285-
``__future__`` import.
286-
287-
Starting with Python 3.9 the warning becomes a ``DeprecationWarning``.
288-
289-
In Python 4.0 this will become the default behavior. Use of annotations
283+
In Python 3.9 this will become the default behavior. Use of annotations
290284
incompatible with this PEP is no longer supported.
291285

292286

0 commit comments

Comments
 (0)