Python Typing Specification
Official docs outline
7 sections- Type system concepts
Types, subtyping, gradual typing and consistency.
- Special types in annotations
Any, None, Never, Optional and Union.
- Generics
TypeVar, ParamSpec and generic classes.
- Protocols
Structural subtyping.
- Callables
Callable annotations and overloads.
- TypedDict
Typed dictionary shape definitions.
- Dataclasses
Dataclass transform semantics.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.
More in Language and platform specs
All 33- Java Virtual Machine Specification
- Language Server Protocol
- Model Context Protocol Specification
- PEP 8 Style Guide for Python Code
- POSIX (IEEE Std 1003.1 and Open Group Base Specifications)
- Python Language Reference
- Selectors Level 4
- Service Workers (W3C)
- SQL (ISO/IEC 9075)
- Streams Standard (WHATWG)
- The Go Programming Language Specification
- The Rust Reference