blob: c94bea120d5a07fb6404b8cd2ac41c75f61aa207 [file] [log] [blame]
Guido van Rossum46dbb7d2015-05-22 10:14:11 -07001:mod:`typing` --- Support for type hints
2========================================
3
4.. module:: typing
5 :synopsis: Support for type hints (see PEP 484).
6
7**Source code:** :source:`Lib/typing.py`
8
9--------------
10
11This module supports type hints as specified by :pep:`484`. The most
12fundamental support consists of the type :class:`Any`, :class:`Union`,
13:class:`Tuple`, :class:`Callable`, :class:`TypeVar`, and
14:class:`Generic`. For full specification please see :pep:`484`. For
15a simplified introduction to type hints see :pep:`483`.