Skip to content

Commit 51141ad

Browse files
committed
Use set literals
1 parent acdf777 commit 51141ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

uncompyle6/parsers/parse3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ def customize_grammar_rules(self, tokens, customize):
706706
# Note: BUILD_TUPLE_UNPACK_WITH_CALL gets considered by
707707
# default because it starts with BUILD. So we'll set to ignore it from
708708
# the start.
709-
custom_ops_processed = set(("BUILD_TUPLE_UNPACK_WITH_CALL",))
709+
custom_ops_processed = {"BUILD_TUPLE_UNPACK_WITH_CALL"}
710710

711711
# A set of instruction operation names that exist in the token stream.
712712
# We use this customize the grammar that we create.

uncompyle6/parsers/parse37base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def customize_grammar_rules(self, tokens, customize):
138138
# Note: BUILD_TUPLE_UNPACK_WITH_CALL gets considered by
139139
# default because it starts with BUILD. So we'll set to ignore it from
140140
# the start.
141-
custom_ops_processed = set(("BUILD_TUPLE_UNPACK_WITH_CALL",))
141+
custom_ops_processed = {"BUILD_TUPLE_UNPACK_WITH_CALL"}
142142

143143
# A set of instruction operation names that exist in the token stream.
144144
# We use this customize the grammar that we create.

0 commit comments

Comments
 (0)