def __init__(self, *args): 
        self.default_factory = None
        if len(args) > 0:
            # arg0 is default_factory
            self.default_factory = args[0]
        if len(args) > 1:
            # arg1 is initial contents
            super(OrderedDefaultDict, self).__init__(args[1])
        else:
            super(OrderedDefaultDict, self).__init__()
dataset/ETHPy150Open Arelle/Arelle/arelle/PythonUtil.py/OrderedDefaultDict.__init__/original