'od.clear() -> None.  Remove all items from od.'

def clear(self):

    try:
        for node in self.__map.itervalues():
            del node[:]
        root = self.__root
        root[:] = [root, root, None]
        self.__map.clear()
    except AttributeError:
        pass
    dict.clear(self)
