Bug report
Bug description:
IMHO, calling an inherited __call__ method should work without spelling it out.
class Foo:
def __call__(self):
print("A")
class Bar(Foo):
def __call__(self):
print("B")
super()() # TypeError: 'super' object is not callable
super().__call__() # works
Bar()()
CPython versions tested on:
3.14
Operating systems tested on:
Linux
Bug report
Bug description:
IMHO, calling an inherited
__call__method should work without spelling it out.CPython versions tested on:
3.14
Operating systems tested on:
Linux