Specification for the Python type system ======================================== .. toctree:: :maxdepth: 2 :caption: Contents: type-system meta concepts annotations special-types generics qualifiers class-compat aliases literal protocol callables constructors overload exceptions dataclasses typeddict tuples namedtuples narrowing directives distributing historical glossary