projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Workaround likely client bug in letter_compress. Update tests in bst.
[python_utils.git]
/
collect
/
bst.py
diff --git
a/collect/bst.py
b/collect/bst.py
index 94570f49be8490b4656d2b4ea12185a44c636212..8e95fa23aeb09c4d86ffd74055358fd54f2002c7 100644
(file)
--- 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