Y
Hacker News
new
|
ask
|
show
|
jobs
Python 4.0 Confirmed in 3.7 Documentation
(
docs.python.org
)
1 points
by
Ethcad
2888 days ago
1 comments
Ethcad
2888 days 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.
link