Merge branch 'master' into python-2.4

This commit is contained in:
rocky
2017-05-30 02:18:57 -04:00
37 changed files with 2042 additions and 284 deletions

View File

@@ -224,6 +224,9 @@ class Scanner(object):
yield start
start += self.op_size(self.code[start])
def next_offset(self, op, offset):
return offset + self.op_size(op)
def op_size(self, op):
"""
Return size of operator with its arguments