From f1c3a99ad5df574489e877c0456c0c714b507357 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Tue, 19 May 2020 19:19:55 +0300 Subject: [PATCH] Make `from __future__ import annotations` the default in Python 3.10 (#1406) --- pep-0563.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pep-0563.rst b/pep-0563.rst index f14ce6224..481ed4eac 100644 --- a/pep-0563.rst +++ b/pep-0563.rst @@ -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