Changeset 1458:fe71c731c487 in orange-bioinformatics


Ignore:
Timestamp:
07/13/11 14:47:43 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
ea8e30d4e8e4ede802d85baef10ceb549e8a5b6b
Message:

Added iter and contains methods to GDSInfo (fixes #831).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • obiGEO.py

    r1416 r1458  
    5454    def __setitem__(self, key, item): self.info[key] = item 
    5555    def __len__(self): return len(self.info) 
     56    def __iter__(self): return iter(self.info) 
     57    def __contains__(self, key): return key in self.info 
    5658     
    5759 
Note: See TracChangeset for help on using the changeset viewer.