def __init__(self, key, value, parent = None, left = None, right = None, depth = 0): BSNode.__init__(self, key, value, parent, left, right) self.depth = depth
def __init__(self, key, value, parent = None, left = None, right = None, color = 'red'): BSNode.__init__(self, key, value, parent, left, right) self.color = color