class A:

    def __init__(self, x, y=None):
        pass


class B(A):

    def __init__(self, *args, **kwargs):
        page_num = kwargs.get('page_num')
A.__init__(self, *args, **kwargs)
How to pass extra argument when creating object that uses ** (double star) syntax in python?