示例#1
0
 def next(self):
     try:
         self.last, item = self.iter.next()
         return item
     except DataError:
         self.swap(traceback.format_exc())
         raise Wait(0)
示例#2
0
 def next(self):
     try:
         self.last, item = self.iter.next()
         return item
     except DataError:
         self.swap()
         raise Wait(0)