From c192c815a02cdbd4cbde12318dea01ab3726f76a Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sat, 23 Mar 2013 21:11:14 +0100 Subject: Added default value for the root of the tree. --- source/binarytree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. """ -- cgit