error handling

7 views
Skip to first unread message

SOORAJ B.P

unread,
Mar 18, 2019, 11:23:40 PM3/18/19
to poio-discuss
I'm pretty new to python 
I tried running the example given in the documentation page and I keep getting errors.
Any help would be appreciated . This is for a project.
C:\Users\V\Documents>proto.py lon
Traceback (most recent call last):
  File "C:\Users\V\Documents\proto.py", line 22, in <module>
    callback = DemoCallback("Des is a Te")
  File "C:\Users\V\Documents\proto.py", line 9, in __init__
    super().__init__()
TypeError: super() takes at least 1 argument (0 given)
Reply all
Reply to author
Forward
0 new messages