Merge pull request #1387 from ajbeamon/release-6.1
Improve Python KeySelector representation (cherry-picked from master)
This commit is contained in:
commit
fdb46d40af
|
@ -1159,8 +1159,8 @@ class KeySelector(object):
|
|||
def first_greater_or_equal(cls, key):
|
||||
return cls(key, False, 1)
|
||||
|
||||
def __str__(self):
|
||||
return 'KeySelector(%s, %r, %d)' % (self.key, self.or_equal, self.offset)
|
||||
def __repr__(self):
|
||||
return 'KeySelector(%r, %r, %r)' % (self.key, self.or_equal, self.offset)
|
||||
|
||||
|
||||
class KVIter(object):
|
||||
|
|
Loading…
Reference in New Issue