Make `from __future__ import annotations` the default in Python 3.10 (#1406)

This commit is contained in:
Hugo van Kemenade 2020-05-19 19:19:55 +03:00 committed by GitHub
parent ee87e2fbb8
commit f1c3a99ad5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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