Example #1
0
 def save(self):
     data = dump(self.data)
     safe_overwrite(self.fname, data)
Example #2
0
 def save(self):
   data = dump(self.data)
   safe_overwrite(self.fname, data)
Example #3
0
 def save(self):
   dump(self.data, open(self.fname, 'w'))