Changeset 5242 for main/waeup.sirp/branches/ulif-fasttables/src/waeup
- Timestamp:
- 27 Jun 2010, 08:36:43 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/ulif-fasttables/src/waeup/sirp/jambtables/jambtables.py
r5240 r5242 81 81 yield data_dict 82 82 83 def keys(self): 84 """Get iterator over all registration numbers stored in table. 85 """ 86 for item in self: 87 yield item['reg_no'] 88 89 def items(self): 90 """Get tuples of registration number and datasets for each entry in 91 data table. 92 """ 93 for item in self: 94 yield (item['reg_no'], item) 95 83 96 def clear(self): 84 97 """Remove all existing entries.
Note: See TracChangeset for help on using the changeset viewer.