2 ms·
Not explicitly mentioned but demonstrated: reveal_type https://docs.python.org/3.11/library/typing.html#typing.reveal_type https://docs.python.org/3.11/library
by 3np 4y ago
Not explicitly mentioned but demonstrated: reveal_type
https://docs.python.org/3.11/library/typing.html#typing.reveal_type https://docs.python.org/3.11/library/typing.html#typing.reve...
- davidatbu 4y agoTo be clear, this feature has forever been supported by the type checkers, it's just that running python code with `reveal_type` would fail since it's not defined at run-time. IIUC, this change makes it so that it doesn't fail at run time.