class B(A):

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