Merge pull request #1387 from ajbeamon/release-6.1

Improve Python KeySelector representation (cherry-picked from master)
This commit is contained in:
A.J. Beamon 2019-04-01 09:19:34 -07:00 committed by GitHub
commit fdb46d40af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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):