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 gvanrossum
Recipients 45757, docs@python, gvanrossum, levkivskyi, serhiy.storchaka
Date 2019-08-11.17:53:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565546020.28.0.300399745398.issue37814@roundup.psfhosted.org>
In-reply-to
Content
> What is better, Tuple[()] or Literal[()]?

In this context, Tuple[()] is better, as the discussion is about how to write the type of various tuples. Tuple[()] is just the edge case of the type of the empty tuple.

Josh, please sign the CLA and adjust the wording per my request in the PR.
History
Date User Action Args
2019-08-11 17:53:40gvanrossumsetrecipients: + gvanrossum, docs@python, serhiy.storchaka, levkivskyi, 45757
2019-08-11 17:53:40gvanrossumsetmessageid: <1565546020.28.0.300399745398.issue37814@roundup.psfhosted.org>
2019-08-11 17:53:40gvanrossumlinkissue37814 messages
2019-08-11 17:53:40gvanrossumcreate