[docs] [issue37814] typing module: empty tuple syntax is undocumented
Guido van Rossum
report at bugs.python.org
Sun Aug 11 13:53:40 EDT 2019
Guido van Rossum <guido at python.org> added the comment:
> 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.
Python tracker <report at bugs.python.org>
More information about the docs