summaryrefslogtreecommitdiff
path: root/collect/bst.py
diff options
context:
space:
mode:
Diffstat (limited to 'collect/bst.py')
-rw-r--r--collect/bst.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/collect/bst.py b/collect/bst.py
index 94570f4..8e95fa2 100644
--- a/collect/bst.py
+++ b/collect/bst.py
@@ -120,8 +120,8 @@ class BinaryTree(object):
75
85
- >>> t.__delitem__(22)
- True
+ >>> del t[22] # Note: bool result is discarded
+
>>> for value in t.iterate_inorder():
... print(value)
13