/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

yotam.net
| | 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.2 parsecs

Travel
| |
| | sobolevn.me

Before ParamSpec (PEP612) was released in Python3.10 and typing_extensions,there was a big problem in typing decorators that change a function's signature.
1.7 parsecs

Travel
| |
| | bfontaine.net

Tips and tricks in Python, Bash, Clojure and other languages/environments.
1.9 parsecs

Travel
| |
| | ukiahsmith.com

Often times we need to unmarshal upstream data with unique constraints. Such as custom data types, or custom parsing of specific formats. Using the standard library could be impractical, and handling long structs manually can be tedious; however there is an alternative.
24.6 parsecs

Travel
|