Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Python 4.0 Confirmed in 3.7 Documentation
(opens in new tab)
(docs.python.org)
1 points
Ethcad
7y ago
1 comments
Save
Share
1 comments
1 comments · 1 top-level
top
newest
oldest
Ethcad
OP
7y ago
> Since this change breaks compatibility, the new behavior needs to be enabled on a per-module basis in Python 3.7 using a __future__ import:
from __future__ import annotations
> It will become the default in Python 4.0.
j
/
k
navigate · click thread line to collapse