aboutsummaryrefslogtreecommitdiffstats
path: root/netlib
diff options
context:
space:
mode:
Diffstat (limited to 'netlib')
-rw-r--r--netlib/odict.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/netlib/odict.py b/netlib/odict.py
index 629fcade..bddb3877 100644
--- a/netlib/odict.py
+++ b/netlib/odict.py
@@ -22,6 +22,9 @@ class ODict:
def __eq__(self, other):
return self.lst == other.lst
+ def __iter__(self):
+ return self.lst.__iter__()
+
def __getitem__(self, k):
"""
Returns a list of values matching key.