示例#1
0
 def __delitem__(self, key):
     gimp.set_data(key, '')
示例#2
0
 def __delitem__(self, key):
     gimp.set_data(key, '')
示例#3
0
 def __setitem__(self, key, value):
     f = StringIO.StringIO()
     p = pickle.Pickler(f)
     p.dump(value)
     gimp.set_data(key, f.getvalue())
示例#4
0
 def __setitem__(self, key, value):
     f = StringIO.StringIO()
     p = pickle.Pickler(f)
     p.dump(value)
     gimp.set_data(key, f.getvalue())