예제 #1
0
 def reads(self):
     next = reads(self.file, self.lookup).next
     while True:
         key = next()
         try:
             value = next()
         except StopIteration:
             raise StructError('EOF before second item in pair')
         yield key, value
예제 #2
0
 def reads(self):
     next = reads(self.file, self.lookup).next
     while True:
         key = next()
         try:
             value = next()
         except StopIteration:
             raise StructError('EOF before second item in pair')
         yield key, value
예제 #3
0
 def reads(self):
     return reads(self.file, self.lookup)
예제 #4
0
 def reads(self):
     return reads(self.file, self.lookup)