[issue37814] typing module: empty tuple syntax is undocumented

Josh Holland report at bugs.python.org
Sun Aug 11 09:50:39 EDT 2019


Josh Holland <anowlcalledjosh at gmail.com> added the comment:

PEP 586 doesn't currently allow Literal to contain tuples, so Tuple[()] is the only option.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37814>
_______________________________________


More information about the Python-bugs-list mailing list