aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
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