Skip to content

ï not dealt with properly #1754

Closed
Closed
@russel

Description

@russel

The signature:

def naïve_recursive(n: int) -> int:

is perfectly valid Python, but MyPy barfs on the ï.

XXX: note: In function "na":
XXX:27: error: Unrecognized character
XXX:27: error: Parse error before "int"
XXX: note: At top level:
XXX:27: error: Parse error before :
XXX:28: error: Inconsistent indentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions