Staging
v0.8.1
https://github.com/python/cpython
Raw File
Tip revision: 205acde55e8ed83a46f471b986c436ecbf5ad791 authored by Larry Hastings on 24 May 2015, 00:43:05 UTC
Version bump for 3.5.0b1.
Tip revision: 205acde
typing.rst
:mod:`typing` --- Support for type hints
========================================

.. module:: typing
   :synopsis: Support for type hints (see PEP 484).

**Source code:** :source:`Lib/typing.py`

--------------

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