Skip to content

Commit f61f9fa

Browse files
committed
Reformat util.py
1 parent 97b44db commit f61f9fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nltk/util.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,9 @@ def acyclic_breadth_first(tree, children=iter, maxdepth=-1, verbose=False):
408408
pass
409409

410410

411-
def acyclic_depth_first(tree, children=iter, depth=-1, cut_mark=None, traversed=None, verbose=False):
411+
def acyclic_depth_first(
412+
tree, children=iter, depth=-1, cut_mark=None, traversed=None, verbose=False
413+
):
412414
"""Traverse the nodes of a tree in depth-first order,
413415
discarding eventual cycles within any branch,
414416
adding cut_mark (when specified) if cycles were truncated.

0 commit comments

Comments
 (0)