示例#1
0
 def __exit__(self, x, y, z):
     intensity_conf.set(*(self.args[0:2] + (self.saved,)))
示例#2
0
 def __exit__(self, x, y, z):
     intensity_conf.set(*(self.args[0:2] + (self.saved, )))
示例#3
0
 def __enter__(self):
     self.saved = intensity_conf.get(*(self.args[0:2]))
     intensity_conf.set(*(self.args))
示例#4
0
 def __enter__(self):
     self.saved = intensity_conf.get(*(self.args[0:2]))
     intensity_conf.set(*(self.args))