def __init__(self, *args, **kwds):
        '''Initialize an ordered dictionary.  Signature is the same as for
        regular dictionaries, but keyword arguments are not recommended
        because their insertion order is arbitrary.

        '''
        if len(args) > 1:
            raise TypeError('expected at most 1 arguments, got %d' % len(args))
        try:
            self.__root
        except AttributeError:
            self.__root = root = []                     # sentinel node
            root[:] = [root, root, None]
            self.__map = {}
        self.__update(*args, **kwds)
def __init__ ( self , * args , ** kwds ) : if len ( args ) > 1 : raise TypeError ( 'expected at most 1 arguments, got %d' % len ( args ) ) try : self . __root except AttributeError : self . __root = root = [ ] root [ : ] = [ root , root , None ] self . __map = { } self . __update ( * args , ** kwds )
Initialize an ordered dictionary.  Signature is the same as for
        regular dictionaries, but keyword arguments are not recommended
        because their insertion order is arbitrary.