diff options
author | Raymond Hettinger <python@rcn.com> | 2009-03-03 21:13:51 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2009-03-03 21:13:51 (GMT) |
commit | 0b15541ae27fc926921ba1feb853c442a8ddaa82 (patch) | |
tree | 32adb50bf40dbb4f24f893c272c324e275ecfbdb | |
parent | 9353ea2b8587ea3acbcdbe322007cb1b96b73bce (diff) | |
download | cpython-0b15541ae27fc926921ba1feb853c442a8ddaa82.zip cpython-0b15541ae27fc926921ba1feb853c442a8ddaa82.tar.gz cpython-0b15541ae27fc926921ba1feb853c442a8ddaa82.tar.bz2 |
Minor simplification.
-rw-r--r-- | Lib/collections.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/collections.py b/Lib/collections.py index 723522d22..3319378 100644 --- a/Lib/collections.py +++ b/Lib/collections.py @@ -87,7 +87,7 @@ class OrderedDict(dict, MutableMapping): def __repr__(self): if not self: return '%s()' % (self.__class__.__name__,) - return '%s(%r)' % (self.__class__.__name__, list(self.items())) + return '%s(%r)' % (self.__class__.__name__, self.items()) def copy(self): return self.__class__(self) |