There was an error while loading. Please reload this page.
from __future__ import annotations
1 parent 9c0fb2a commit d078f4bCopy full SHA for d078f4b
pep-0563.rst
@@ -280,13 +280,7 @@ Deprecation policy
280
Starting with Python 3.7, a ``__future__`` import is required to use the
281
described functionality. No warnings are raised.
282
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
+In Python 3.9 this will become the default behavior. Use of annotations
290
incompatible with this PEP is no longer supported.
291
292
0 commit comments