示例#1
0
文件: simple.py 项目: Eirikur/lever
 def on_setattr(self, mem, name, value):
     if name == u"to":
         return self.store(mem.pool, mem.pointer, value)
     raise Object.setattr(mem, name, value)
示例#2
0
文件: simple.py 项目: cheery/lever
 def on_setattr(self, mem, name, value):
     if name == u"to":
         return self.store(mem.pool, mem.pointer, value)
     raise Object.setattr(mem, name, value)
示例#3
0
 def on_setattr(self, mem, name, value):
     raise Object.setattr(mem, name, value)