aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-03-23 20:50:59 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-03-23 20:50:59 +0100
commit6a0e063843c0fda6964742e8be605c43bc9e5e3e (patch)
tree5b72238b89ed6a04e9532ebbdd0965f0f34180dd /source
parentMinor changes in testbinarytree.py. (diff)
downloadnewspipe-6a0e063843c0fda6964742e8be605c43bc9e5e3e.tar.gz
newspipe-6a0e063843c0fda6964742e8be605c43bc9e5e3e.tar.bz2
newspipe-6a0e063843c0fda6964742e8be605c43bc9e5e3e.zip
Updated description.
Diffstat (limited to 'source')
-rw-r--r--source/binarytree.py6
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
bgstack15