Exemple #1
0
 def loads(self, s):
     return deconvert(pickle.loads(s))
Exemple #2
0
 def loads(self, s):
     self.pos = 0
     return deconvert(self.from_str(s))
Exemple #3
0
 def load(self, fp):
     return deconvert(pickle.load(open(fp, 'rb')))
Exemple #4
0
 def loads(self, s):
     self.pos = 0
     self.depth = 0
     r = self.from_str(s)
     return deconvert(r)