Exemplo n.º 1
0
 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
Exemplo n.º 2
0
 def index(self):
     self.dict ={}
     for t, k, v in self.__iter__():
         #print v
         v = type_cast.convert(t, v)
         self.dict[k] = v