Closed
Description
Minimal reproducible example (playground):
class A:
def foo(): ... # No `self`
A().foo() # Too many positional arguments to bound method `foo`: expected 0, got 0
Arguably, the "got 0" part should be "got 1 (including self
)".