from oopstack import Stack # get wrapper class class Substack(Stack): def __init__(self, start=[]): # extend it in Python Stack.__init__(self) # [. . .]