diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2013-01-03 14:05:33 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2013-01-03 14:05:33 +1300 |
commit | bb317051a4ee17a77c72666d17b1c1926a815889 (patch) | |
tree | d74b5487cec8a6aa2c9e0a424fb2dd62c060ad66 /netlib/odict.py | |
parent | 082f398b8fdb8176c94271470df21f6e8f3faff6 (diff) | |
parent | 06d4ed9ba1642db41f5cda345e261d6bf2d004bf (diff) | |
download | mitmproxy-bb317051a4ee17a77c72666d17b1c1926a815889.tar.gz mitmproxy-bb317051a4ee17a77c72666d17b1c1926a815889.tar.bz2 mitmproxy-bb317051a4ee17a77c72666d17b1c1926a815889.zip |
Merge branch 'master' of ssh.github.com:cortesi/netlib
Diffstat (limited to 'netlib/odict.py')
-rw-r--r-- | netlib/odict.py | 3 |
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. |