def index(self): self.dict ={} for t, k, v in self.__iter__(): #print '+++',v, type(v) v = type_cast.convert(t, v) #'True' = False error here #print '__',v, type(v) self.dict[k] = v
def index(self): self.dict ={} for t, k, v in self.__iter__(): #print v v = type_cast.convert(t, v) self.dict[k] = v