Staging
v0.8.1
https://github.com/python/cpython
Revision 91185fe0284a04162e0b3425b53be49bdbfad67d authored by Guido van Rossum on 08 June 2016, 18:19:11 UTC, committed by Guido van Rossum on 08 June 2016, 18:19:11 UTC
(Upstream is https://github.com/python/typing)

- Add TYPE_CHECKING (false at runtime, true in type checkers) (upstream #230).
- Avoid error on Union[xml.etree.cElementTree.Element, str] (upstream #229).
- Repr of Tuple[()] should be 'Tuple[()]' (upstream #231).
- Add NewType() (upstream #189).
1 parent 07a9fcd
History
Tip revision: 91185fe0284a04162e0b3425b53be49bdbfad67d authored by Guido van Rossum on 08 June 2016, 18:19:11 UTC
Sync typing.py with upstream.
Tip revision: 91185fe

README

back to top