Skip to content

type ignore comment after method aliasing doesn't work #644

@Akuli

Description

@Akuli
class Entry:
    def configure(self): ...
    config = configure  # type: ignore
  File: "foo.pyi", line 3
    config = configure  # type: ignore
                        ^
ParseError: syntax error, unexpected TYPECOMMENT, expecting DEF

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions