master > master: code py - tree darstellung einheitlicher

This commit is contained in:
RD 2022-06-10 09:06:27 +02:00
parent 969a880440
commit 67f6caf2d5
2 changed files with 9 additions and 7 deletions

View File

@ -46,17 +46,19 @@ def enter():
# X = 'ANSTRENGEN',
# Y = 'AGAT',
# X = 'ACGAAG',
Y = 'applses',
X = 'happily ever, lol',
Y = 'apples',
X = 'happily ever after',
# Y = 'applses',
# X = 'happily ever, lol',
# Y = 'apple',
# X = 'happily',
once = True,
verb = VerboseMode.COSTS,
# once = True,
# verb = VerboseMode.COSTS,
# verb = VerboseMode.MOVES,
# verb = VerboseMode.COSTS_AND_MOVES,
verb = VerboseMode.COSTS_AND_MOVES,
show = [
# DisplayOptions.ATOMS,
# DisplayOptions.TREE,
DisplayOptions.TREE,
],
);
return;

View File

@ -81,7 +81,7 @@ class Alignment():
braces = braces,
branch = branch,
);
yield '';
yield f'{indent}{prefix}';
yield from self.right._astree_recursion(
depth = depth + 1,
indent = indent,