Commit 714da6e7 authored by Jim Fulton's avatar Jim Fulton

revert a (partial and half-abandoned) change to byValue

parent 0d2498df
......@@ -1270,7 +1270,7 @@ class Tree(_Tree):
def byValue(self, min):
return reversed(
sorted(((v, k) for (k, v) in self.iteritems() if v >= min)))
sorted((v, k) for (k, v) in self.iteritems() if v >= min))
def insert(self, key, value):
return bool(self._set(key, value, True)[0])
......
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