summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/collections.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/collections.py b/Lib/collections.py
index 723522d227..331937827c 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)