(self)
return iter(self.allele_list)
Return the list iterator
Return the list iterator
Return the list iterator
def __iter__(self):
      """ Return the list iterator """
      if self.homogeneous:
         oneList = [self.allele_list[0]]
         return iter(oneList)
      return iter(self.allele_list)
def __iter__ ( self ) : if self . homogeneous : oneList = [ self . allele_list [ 0 ] ] return iter ( oneList ) return iter ( self . allele_list )