We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Code:
class Visitor: def __init__(self, a: int): pass
Error:
x.py: In member "__init__" of class "Visitor": x.py, line 2: Cannot define return type for "__init__"
The return type is Any (implicitly), and Any should be a valid return type for __init__.
Any
__init__
This was reported by Guido.