diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-03-23 21:11:14 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-03-23 21:11:14 +0100 |
commit | c192c815a02cdbd4cbde12318dea01ab3726f76a (patch) | |
tree | 64274c2eb1473b8b092f527fe6600561a63e2495 | |
parent | Improvement to the binarytree implementation: the root is now given to the __... (diff) | |
download | newspipe-c192c815a02cdbd4cbde12318dea01ab3726f76a.tar.gz newspipe-c192c815a02cdbd4cbde12318dea01ab3726f76a.tar.bz2 newspipe-c192c815a02cdbd4cbde12318dea01ab3726f76a.zip |
Added default value for the root of the tree.
-rw-r--r-- | source/binarytree.py | 2 |
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. """ |