Skip to content

Commit

Permalink
correct typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rasql committed Jun 14, 2019
1 parent ae5b395 commit 2681e5b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/todo.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Features to add:
================

Nodes
Nodes

* editable
* visible
Expand Down Expand Up @@ -30,8 +30,8 @@ Warning

Links:

* https://docs.quantifiedcode.com/python-anti-patterns/
* https://pymbook.readthedocs.io/en/latest/
* https://docs.quantifiedcode.com/python-anti-patterns/
* https://pymbook.readthedocs.io/en/latest/
* Date structures and algorithmes with Python,
http://knuth.luther.edu/~leekent/CS2Plus/index.html
* Python 3 - Patterns, Recipes and Idioms,
Expand Down
4 changes: 3 additions & 1 deletion docs/tree/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ def sibling(self, forward=True, wrap=True):
def walk(self):
if children != []:
children[0]
else
else:
pass
# TO DO

if __name__ == '__main__':
n = Node()
Expand Down
1 change: 0 additions & 1 deletion docs/tree/tree1.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
print(Node.nodes)
n.print_tree()


for i in range(5):
n2 = n2.sibling()
print(n)

0 comments on commit 2681e5b

Please sign in to comment.