'Used for __repr__ and __str__
>>> r1 = repr(OrderedDict(((\'a\', \'b\'), (\'c\', \'d\'), (\'e\', \'f\'))))
>>> r1
"OrderedDict([(\'a\', \'b\'), (\'c\', \'d\'), (\'e\', \'f\')])"
>>> r2 = repr(OrderedDict(((\'a\', \'b\'), (\'e\', \'f\'), (\'c\', \'d\'))))
>>> r2
"OrderedDict([(\'a\', \'b\'), (\'e\', \'f\'), (\'c\', \'d\')])"
>>> r1 == str(OrderedDict(((\'a\', \'b\'), (\'c\', \'d\'), (\'e\', \'f\'))))
True
>>> r2 == str(OrderedDict(((\'a\', \'b\'), (\'e\', \'f\'), (\'c\', \'d\'))))
True'

def __repr__(self):

    return ('%s([%s])' % (self.__class__.__name__, ',    '.join([('(%r,    %r)' % (key, self[key])) for key in self._sequence])))
