[issue35814] Syntax quirk with variable annotations

Guido van Rossum report at bugs.python.org
Mon May 13 12:27:07 EDT 2019


Guido van Rossum <guido at python.org> added the comment:

I think PEP 526 does not clarify the intention here. Perhaps we could add a specific example? It currently shows:

  t: Tuple[int, ...] = (1, 2, 3)

We could just add this there:

  t: Tuple[int, ...] = 1, 2, 3

----------

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


More information about the Python-bugs-list mailing list