Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
Python 4.0 Confirmed in 3.7 Documentation | Better HN
Python 4.0 Confirmed in 3.7 Documentation
(opens in new tab)
(docs.python.org)
1 points
Ethcad
7y ago
1 comments
Share
1 comments
default
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