Python 3 RuntimeError: super(): no arguments

Not 100% solution to the question, but same error. Posted with love for Googlers who have the same issue as me.

Using Python 3, I got this error because I forgot to include self in the method. Simple thing, but sometimes the most simple things trip you up when you’re tired.

class foo(object):
    def bar(*args):
        super().bar(*args)

=> RuntimeError: super(): no arguments

Remember to include your self

class foo(object):
    def bar(self, *args):
        super().bar(*args)

Leave a Comment