Commits

Chris Mutel committed 1864650

Add iteration to serialized dicts

  • Participants
  • Parent commits 9a78575
  • Branches stats-arrays

Comments (0)

Files changed (1)

File bw2data/serialization.py

     def __len__(self):
         return len(self.data)
 
+    def __iter__(self):
+        return iter(self.data)
+
     def iteritems(self):
         return self.data.iteritems()