You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Black files
This commit is contained in:
@@ -16,22 +16,12 @@
|
||||
Custom Nonterminal action functions. See NonterminalActions docstring.
|
||||
"""
|
||||
|
||||
from uncompyle6.semantics.consts import (
|
||||
INDENT_PER_LEVEL,
|
||||
NONE,
|
||||
PRECEDENCE,
|
||||
minint,
|
||||
)
|
||||
|
||||
from uncompyle6.parsers.treenode import SyntaxTree
|
||||
from uncompyle6.scanners.tok import Token
|
||||
from uncompyle6.semantics.consts import INDENT_PER_LEVEL, NONE, PRECEDENCE, minint
|
||||
from uncompyle6.semantics.helper import find_code_node, flatten_list
|
||||
from uncompyle6.util import better_repr, get_code_name
|
||||
|
||||
from uncompyle6.semantics.helper import (
|
||||
find_code_node,
|
||||
flatten_list,
|
||||
)
|
||||
|
||||
|
||||
class NonterminalActions:
|
||||
"""
|
||||
@@ -227,8 +217,10 @@ class NonterminalActions:
|
||||
else:
|
||||
# from trepan.api import debug; debug()
|
||||
raise TypeError(
|
||||
("Internal Error: n_const_list expects dict, list set, or set; got %s"
|
||||
% lastnodetype)
|
||||
(
|
||||
"Internal Error: n_const_list expects dict, list set, or set; got %s"
|
||||
% lastnodetype
|
||||
)
|
||||
)
|
||||
|
||||
self.indent_more(INDENT_PER_LEVEL)
|
||||
|
Reference in New Issue
Block a user