Dark Hacker News
new
|
best
|
ask
|
show
|
jobs
Python 4.0 Confirmed in 3.7 Documentation | Dark Hacker News
Python 4.0 Confirmed in 3.7 Documentation
(docs.python.org)
1 points
by
Ethcad
7 years ago
| 1 comment
Ethcad
7 years ago
|
next
[−]
> 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.