master > master: code py - tree darstellung einheitlicher
This commit is contained in:
parent
969a880440
commit
67f6caf2d5
@ -46,17 +46,19 @@ def enter():
|
|||||||
# X = 'ANSTRENGEN',
|
# X = 'ANSTRENGEN',
|
||||||
# Y = 'AGAT',
|
# Y = 'AGAT',
|
||||||
# X = 'ACGAAG',
|
# X = 'ACGAAG',
|
||||||
Y = 'applses',
|
Y = 'apples',
|
||||||
X = 'happily ever, lol',
|
X = 'happily ever after',
|
||||||
|
# Y = 'applses',
|
||||||
|
# X = 'happily ever, lol',
|
||||||
# Y = 'apple',
|
# Y = 'apple',
|
||||||
# X = 'happily',
|
# X = 'happily',
|
||||||
once = True,
|
# once = True,
|
||||||
verb = VerboseMode.COSTS,
|
# verb = VerboseMode.COSTS,
|
||||||
# verb = VerboseMode.MOVES,
|
# verb = VerboseMode.MOVES,
|
||||||
# verb = VerboseMode.COSTS_AND_MOVES,
|
verb = VerboseMode.COSTS_AND_MOVES,
|
||||||
show = [
|
show = [
|
||||||
# DisplayOptions.ATOMS,
|
# DisplayOptions.ATOMS,
|
||||||
# DisplayOptions.TREE,
|
DisplayOptions.TREE,
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
|
@ -81,7 +81,7 @@ class Alignment():
|
|||||||
braces = braces,
|
braces = braces,
|
||||||
branch = branch,
|
branch = branch,
|
||||||
);
|
);
|
||||||
yield '';
|
yield f'{indent}{prefix} │';
|
||||||
yield from self.right._astree_recursion(
|
yield from self.right._astree_recursion(
|
||||||
depth = depth + 1,
|
depth = depth + 1,
|
||||||
indent = indent,
|
indent = indent,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user