/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

blog.derlin.ch
| | 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).
2.0 parsecs

Travel
| |
| | kishstats.com

Type hinting was added to the Python standard library starting in version 3.5. Python, being a dynamically typed language, does not enforce data types. Howev...
3.5 parsecs

Travel
| |
| | florimond.dev

Type hints add optional static typing to Python 3.5+, and I love them. I now use annotated variables throughout my projects.
2.4 parsecs

Travel
| |
| | tsev.dev

Blog of another senior web engineer
20.4 parsecs

Travel
|