python3
visual studio code
unexpected error:
“message”: “invalidsyntax(,line 2)”
code:
- class MyButton:
-
def __init__(self)
help!
This is, of course, an isolated piece of a much larger code
python3
visual studio code
unexpected error:
“message”: “invalidsyntax(,line 2)”
code:
def __init__(self)
help!
This is, of course, an isolated piece of a much larger code
Change this to def __init__(self):
(i.e. add the colon at the end).