contrib/perf.py
changeset 31476 413b44003462
parent 31397 8f5ed8fa39f8
child 31823 f6d77af84ef3
equal deleted inserted replaced
31475:1b9b00aca8a3 31476:413b44003462
   163                     self.hexfunc = node.hex
   163                     self.hexfunc = node.hex
   164                 else:
   164                 else:
   165                     self.hexfunc = node.short
   165                     self.hexfunc = node.short
   166             def __nonzero__(self):
   166             def __nonzero__(self):
   167                 return False
   167                 return False
       
   168             __bool__ = __nonzero__
   168             def startitem(self):
   169             def startitem(self):
   169                 pass
   170                 pass
   170             def data(self, **data):
   171             def data(self, **data):
   171                 pass
   172                 pass
   172             def write(self, fields, deftext, *fielddata, **opts):
   173             def write(self, fields, deftext, *fielddata, **opts):