Skip to content

Commit

Permalink
Fix py2.* issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
c0fec0de committed Mar 13, 2017
1 parent 5b91b38 commit f6f0aed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions anytree/iterators.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
class PreOrderIter(object):

def __init__(self, node):
"""
u"""
Iterate over tree applying pre-order strategy starting at `node`.
Start at root and go-down until reaching a leaf node.
Expand Down Expand Up @@ -46,7 +46,7 @@ def __iter__(self):
class PostOrderIter(object):

def __init__(self, node):
"""
u"""
Iterate over tree applying post-order strategy starting at `node`.
>>> from anytree import Node, RenderTree
Expand Down
2 changes: 1 addition & 1 deletion anytree/walker.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def __init__(self):
super(Walker, self).__init__()

def walk(self, start, end):
"""
u"""
Walk from `start` node to `end` node.
Returns:
Expand Down

0 comments on commit f6f0aed

Please sign in to comment.