Guido van Rossum | 46dbb7d | 2015-05-22 10:14:11 -0700 | [diff] [blame^] | 1 | :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 | |
| 11 | This module supports type hints as specified by :pep:`484`. The most |
| 12 | fundamental 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 |
| 15 | a simplified introduction to type hints see :pep:`483`. |