What's new in 3.7 incorrectly states PEP 563 will be default in 3.10 #112306
Labels
3.11
bug and security fixes
3.12
bugs and security fixes
3.13
new features, bugs and security fixes
docs
Documentation in the Doc dir
topic-typing
Documentation
It was correct at the time, but is a bit confusing now:
https://docs.python.org/3/whatsnew/3.7.html#pep-563-postponed-evaluation-of-annotations
But this is no longer the case as clarified:
https://docs.python.org/3/library/__future__.html
Confused me as I learned of PEP 563 via the 3.7 "What's new" link being top search result.
I first assumed it wasn't the issue I was seeing as I'm on 3.11, but turns out it was,
and my issue went away when I added
__future__
import 😑The text was updated successfully, but these errors were encountered: