Confusing TypeError
The incSpeed
method should take an extra argument; yours only takes self
but it is passed an event argument as well.
Update your function signature to accept it:
def incSpeed(self, event): print("Test")
The incSpeed
method should take an extra argument; yours only takes self
but it is passed an event argument as well.
Update your function signature to accept it:
def incSpeed(self, event): print("Test")