26.1. typing — Support for type hints

Source code: Lib/typing.py


This module supports type hints as specified by PEP 484. The most fundamental support consists of the type Any, Union, Tuple, Callable, TypeVar, and Generic. For full specification please see PEP 484. For a simplified introduction to type hints see PEP 483.

Previous topic

26. Development Tools

Next topic

26.2. pydoc — Documentation generator and online help system

This Page