commit | 91185fe0284a04162e0b3425b53be49bdbfad67d | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Jun 08 11:19:11 2016 -0700 |
committer | Guido van Rossum <guido@python.org> | Wed Jun 08 11:19:11 2016 -0700 |
tree | d7ce0fa5970b79c29850d61a0e7b79479c39e874 | |
parent | 07a9fcdc86b740ac5c5108d10418e7668a06e3df [diff] |
Sync typing.py with upstream. (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).