You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Use set literals
This commit is contained in:
@@ -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.
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user