Match Python 3.4's terms a little names better

This commit is contained in:
rocky
2017-09-10 00:48:54 -04:00
parent 4e1467adc8
commit 5bef5683e4
2 changed files with 4 additions and 5 deletions

View File

@@ -330,7 +330,7 @@ class Scanner3(Scanner):
attr = (pos_args, name_pair_args, annotate_args)
tokens.append(
Token(
type_ = opname,
opname = opname,
attr = attr,
pattr = pattr,
offset = inst.offset,
@@ -408,7 +408,7 @@ class Scanner3(Scanner):
last_op_was_break = opname == 'BREAK_LOOP'
tokens.append(
Token(
type_ = opname,
opname = opname,
attr = argval,
pattr = pattr,
offset = inst.offset,