| *************** |
| The Type System |
| *************** |
| |
| Built-in Types |
| ============== |
| |
| `typing Module Documentation <https://docs.python.org/3/library/typing.html>`__ |
| |
| Built-in Primitives |
| ------------------- |
| |
| Built-in operators |
| ------------------ |
| |
| Advanced Types |
| -------------- |
| |
| |
| Simple User-Defined Types |
| ========================= |
| |
| |
| Type Aliases |
| ============ |
| |
| Recursive Aliases |
| ----------------- |
| |
| |
| Data Structures |
| =============== |
| |
| Typed Dictionary |
| ---------------- |
| |
| Dataclass |
| --------- |
| |
| |
| Generic Types |
| ============= |
| |
| |
| Type Variables |
| ============== |
| |
| TypeVar |
| ------- |
| |
| Variadics |
| --------- |
| |
| ParamSpec |
| ^^^^^^^^^ |
| |
| TypeVarTuple |
| ^^^^^^^^^^^^ |