This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author 45757
Recipients 45757, docs@python
Date 2019-08-11.00:36:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565483794.67.0.80364614628.issue37814@roundup.psfhosted.org>
In-reply-to
Content
The empty tuple syntax in type annotations, `Tuple[()]`, is not obvious from the examples given in the documentation (I naively expected `Tuple[]` to work); it has been documented in PEP 484[1] and in mypy[2], but not in the documentation for the typing module.

[1]: https://www.python.org/dev/peps/pep-0484/#the-typing-module
[2]: https://github.com/python/mypy/pull/4313
History
Date User Action Args
2019-08-11 00:36:3445757setrecipients: + 45757, docs@python
2019-08-11 00:36:3445757setmessageid: <1565483794.67.0.80364614628.issue37814@roundup.psfhosted.org>
2019-08-11 00:36:3445757linkissue37814 messages
2019-08-11 00:36:3445757create