code: def get_current_generator(self):
          
          int_index=int(len(self.generators)*wrap(0,1.0,self.inspect_value('index')))
          return self.generators[int_index]
docs: Return the current generator (as specified by self.index).