Use set literals

This commit is contained in:
rocky
2024-06-03 07:55:44 -04:00
parent acdf777a35
commit 51141ad06d
2 changed files with 2 additions and 2 deletions

View File

@@ -706,7 +706,7 @@ class Python3Parser(PythonParser):
# Note: BUILD_TUPLE_UNPACK_WITH_CALL gets considered by
# default because it starts with BUILD. So we'll set to ignore it from
# the start.
custom_ops_processed = set(("BUILD_TUPLE_UNPACK_WITH_CALL",))
custom_ops_processed = {"BUILD_TUPLE_UNPACK_WITH_CALL"}
# A set of instruction operation names that exist in the token stream.
# We use this customize the grammar that we create.

View File

@@ -138,7 +138,7 @@ class Python37BaseParser(PythonParser):
# Note: BUILD_TUPLE_UNPACK_WITH_CALL gets considered by
# default because it starts with BUILD. So we'll set to ignore it from
# the start.
custom_ops_processed = set(("BUILD_TUPLE_UNPACK_WITH_CALL",))
custom_ops_processed = {"BUILD_TUPLE_UNPACK_WITH_CALL"}
# A set of instruction operation names that exist in the token stream.
# We use this customize the grammar that we create.