Comment 4 for bug 1587170

Revision history for this message
David (qwertystop) wrote :

Apart from whether or not pyflakes intends to support type hinting, it currently marks it as a syntax error (on arguments and return types):

def echo(arg: str) -> str:
    return arg

It marks invalid syntax at the first colon, and at the dash if the type hint on argument is removed.