Commit 4d10656a authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 67b92578
...@@ -438,6 +438,10 @@ class _Range: ...@@ -438,6 +438,10 @@ class _Range:
return False return False
return (a.klo == b.klo) and (a.khi == b.khi) return (a.klo == b.klo) and (a.khi == b.khi)
def __str__(r):
return "[%s, %s)" % (r.klo, r.khi)
__repr__ = __str__
# _NodeInRange represents a node (node or znode) coming under range in its tree. # _NodeInRange represents a node (node or znode) coming under range in its tree.
class _NodeInRange: class _NodeInRange:
# .range # .range
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment