Class definition - invalid syntax

python3
visual studio code
unexpected error:
“message”: “invalidsyntax(,line 2)”
code:

  1. class MyButton:
  2.   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).