Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ordereddict.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

from UserDict import DictMixin


class OrderedDict(dict, DictMixin):

def __init__(self, *args, **kwds):
Expand Down Expand Up @@ -117,7 +118,7 @@ def __eq__(self, other):
if isinstance(other, OrderedDict):
if len(self) != len(other):
return False
for p, q in zip(self.items(), other.items()):
for p, q in zip(self.items(), other.items()):
if p != q:
return False
return True
Expand Down