Revert code cleanup that wasn't 2.6 compatible.

This commit is contained in:
Dave Page 2017-03-27 21:27:17 -04:00
parent 95f43d59b8
commit 7450c2df0d

View File

@ -90,7 +90,7 @@ def parse_typed_field_list(tokens):
# " ( [ [ argmode ] [ argname ] argtype
# [ { DEFAULT | = } default_expr ] [, ...] ] )"
mode_names = {'IN', 'OUT', 'INOUT', 'VARIADIC'}
mode_names = set(('IN', 'OUT', 'INOUT', 'VARIADIC'))
parse_state = 'type'
parens = 0
field = TypedFieldMetadata()