Message349402
> 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. |
|
Date |
User |
Action |
Args |
2019-08-11 17:53:40 | gvanrossum | set | recipients:
+ gvanrossum, docs@python, serhiy.storchaka, levkivskyi, 45757 |
2019-08-11 17:53:40 | gvanrossum | set | messageid: <1565546020.28.0.300399745398.issue37814@roundup.psfhosted.org> |
2019-08-11 17:53:40 | gvanrossum | link | issue37814 messages |
2019-08-11 17:53:40 | gvanrossum | create | |
|