spell and empty line
This commit is contained in:
parent
5123dc0f8a
commit
6aec4be490
@ -863,7 +863,7 @@ class LeafTree(Tree):
|
|||||||
class AssocialTree(Tree):
|
class AssocialTree(Tree):
|
||||||
|
|
||||||
""" Tree which concider every subtree with a node different from itself
|
""" Tree which concider every subtree with a node different from itself
|
||||||
as a Lead
|
as a Leaf
|
||||||
"""
|
"""
|
||||||
def map_on_leaf(self, function):
|
def map_on_leaf(self, function):
|
||||||
""" Map on leafs a function
|
""" Map on leafs a function
|
||||||
|
@ -85,7 +85,6 @@ def show_tree(op, left, right, sep = "|", node_caracter = ">"):
|
|||||||
right_slided = leaf_suffix.join(str(right).splitlines())
|
right_slided = leaf_suffix.join(str(right).splitlines())
|
||||||
return node_suffix.join([op, left_slided, right_slided])
|
return node_suffix.join([op, left_slided, right_slided])
|
||||||
|
|
||||||
|
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
# Reglages pour 'vim'
|
# Reglages pour 'vim'
|
||||||
# vim:set autoindent expandtab tabstop=4 shiftwidth=4:
|
# vim:set autoindent expandtab tabstop=4 shiftwidth=4:
|
||||||
|
Loading…
Reference in New Issue
Block a user