Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions threadedtree/threadedtree.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ThreadedTree(object):
"""A carefully implemented unbalanced double threaded binary search tree. Threaded binary search trees are optimized for in-order (ascending or descending) traversal and use no stack or recursion to perform its functions."""
def __init__(self, iterable=[], duplicate_strategy="none", root=None):
"""
Creates and empty unbalanced double threaded binary search tree.
Creates an empty unbalanced double threaded binary search tree.

A tree can be intialized using a valid python iterable object as a parameter to the constructor.

Expand Down Expand Up @@ -497,4 +497,4 @@ def _delete_with_right_child(self, current, parent):
parent.left = current.right

del current
return True
return True