[Python-ideas] Proposal: Use mypy syntax for function annotations
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu Aug 14 03:28:16 CEST 2014
On 08/14/2014 12:32 PM, Chris Angelico wrote:
> I don't like the idea of "from typing import ..." as there's already a
> "types" module and I think it'd be confusing.
Maybe
from __statictyping__ import ...
More explicit, and being a dunder name suggests that it's
something special that linters should ignore if they don't
understand it.
--
Greg
More information about the Python-ideas
mailing list