syntax difference

Ian Kelly ian.g.kelly at gmail.com
Mon Jun 18 15:25:42 EDT 2018


On Mon, Jun 18, 2018 at 11:27 AM Rick Johnson
<rantingrickjohnson at gmail.com> wrote:
>
> Ian wrote:
>
> > Uh, yes, they do. They're defined in PEP 484, and Mypy uses them for
> > type-checking Python 2 code, where the annotations don't exist.
>
> So when will the interleaved type-hints be removed from the language specification?

These things are unrelated. The comment specification was added to
supplement type hints, not replace them.



More information about the Python-list mailing list