diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-08-13 19:12:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-13 19:12:55 (GMT) |
commit | 6ad902a08814909b4d52c4000d5a10ce58516dac (patch) | |
tree | f1a60fdcf3c0cb1a53ab752738fcd8c6064d03d0 /Python/pythonrun.c | |
parent | ee989512528d178d6f088916aba3e67ea9487ceb (diff) | |
download | cpython-6ad902a08814909b4d52c4000d5a10ce58516dac.zip cpython-6ad902a08814909b4d52c4000d5a10ce58516dac.tar.gz cpython-6ad902a08814909b4d52c4000d5a10ce58516dac.tar.bz2 |
bpo-37814: Document the empty tuple type annotation syntax (GH-15208)
https://bugs.python.org/issue37814:
> 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 and in mypy, but not in the documentation for the typing module.
https://bugs.python.org/issue37814
(cherry picked from commit 8a784af750fa82c8355903309e5089eb2b60c16b)
Co-authored-by: Josh Holland <anowlcalledjosh@gmail.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions