diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-03-23 20:50:59 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-03-23 20:50:59 +0100 |
commit | 6a0e063843c0fda6964742e8be605c43bc9e5e3e (patch) | |
tree | 5b72238b89ed6a04e9532ebbdd0965f0f34180dd | |
parent | Minor changes in testbinarytree.py. (diff) | |
download | newspipe-6a0e063843c0fda6964742e8be605c43bc9e5e3e.tar.gz newspipe-6a0e063843c0fda6964742e8be605c43bc9e5e3e.tar.bz2 newspipe-6a0e063843c0fda6964742e8be605c43bc9e5e3e.zip |
Updated description.
-rw-r--r-- | source/binarytree.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/binarytree.py b/source/binarytree.py index 74078cfc..428578ae 100644 --- a/source/binarytree.py +++ b/source/binarytree.py @@ -1,7 +1,9 @@ #! /usr/bin/env python #-*- coding: utf-8 -*- -# A binary ordered example +""" +A binary ordered tree implementation. +""" class Node(object): """ @@ -171,4 +173,4 @@ if __name__ == "__main__": print(tree.minValue(root)) print(tree.maxDepth(root)) - print(tree.size(root)) + print(tree.size(root))
\ No newline at end of file |