/explore
|
You are here |
blog.derlin.ch | ||
| | | | |
florimond.dev
Type hints add optional static typing to Python 3.5+, and I love them. I now use annotated variables throughout my projects. |
|
| | | | | ||
| | | | |
blog.florimondmanca.com
Type hints add optional static typing to Python 3.5+, and I love them. I now use annotated variables throughout my projects. |
|
| | | | | ||
| | | | |
adamj.eu
In a type hint, if we specify a type (class), then we mark the variable as containing an instance of that type. To specify that a variable instead contains a type, we need to use type[Cls] (or the old syntax typing.Type). |
|
| | | | | ||
| | | | |
blog.jonlu.ca
A common mistake people make is conflating strong typing with static typing. |
|
| | | |||