aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-03-23 21:11:14 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-03-23 21:11:14 +0100
commitc192c815a02cdbd4cbde12318dea01ab3726f76a (patch)
tree64274c2eb1473b8b092f527fe6600561a63e2495 /source
parentImprovement to the binarytree implementation: the root is now given to the __... (diff)
downloadnewspipe-c192c815a02cdbd4cbde12318dea01ab3726f76a.tar.gz
newspipe-c192c815a02cdbd4cbde12318dea01ab3726f76a.tar.bz2
newspipe-c192c815a02cdbd4cbde12318dea01ab3726f76a.zip
Added default value for the root of the tree.
Diffstat (limited to 'source')
-rw-r--r--source/binarytree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/binarytree.py b/source/binarytree.py
index c9747d57..a9294251 100644
--- a/source/binarytree.py
+++ b/source/binarytree.py
@@ -21,7 +21,7 @@ class OrderedBinaryTree(object):
"""
Represents a binary ordered .
"""
- def __init__(self, root):
+ def __init__(self, root=None):
"""
Initializes the root member.
"""
bgstack15