Make `from __future__ import annotations` the default in Python 3.10 (#1406)
This commit is contained in:
parent
ee87e2fbb8
commit
f1c3a99ad5
|
@ -85,7 +85,7 @@ aforementioned PEPs should be considered deprecated.
|
|||
Implementation
|
||||
==============
|
||||
|
||||
In Python 4.0, function and variable annotations will no longer be
|
||||
In Python 3.10, function and variable annotations will no longer be
|
||||
evaluated at definition time. Instead, a string form will be preserved
|
||||
in the respective ``__annotations__`` dictionary. Static type checkers
|
||||
will see no difference in behavior, whereas tools using annotations at
|
||||
|
|
Loading…
Reference in New Issue