Merge branch 'master' into string-const

This commit is contained in:
rocky
2019-06-09 01:20:53 -04:00
10 changed files with 129 additions and 73 deletions

View File

@@ -333,9 +333,10 @@ class Scanner3(Scanner):
attr = attr[:4] # remove last value: attr[5] == False
else:
pos_args, name_pair_args, annotate_args = parse_fn_counts(inst.argval)
pattr = ("%d positional, %d keyword pair, %d annotated" %
pattr = ("%d positional, %d keyword only, %d annotated" %
(pos_args, name_pair_args, annotate_args))
if name_pair_args > 0:
# FIXME: this should probably be K_
opname = '%s_N%d' % (opname, name_pair_args)
pass
if annotate_args > 0: