This commit is contained in:
Kovid Goyal 2019-11-03 14:35:22 +05:30
parent 21de8718d7
commit 018bf4697b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -503,7 +503,7 @@ class AnchorLocation(object):
self.pagenum, self.left, self.top, self.zoom = pagenum, left, top, zoom self.pagenum, self.left, self.top, self.zoom = pagenum, left, top, zoom
def __repr__(self): def __repr__(self):
return 'AnchorLocation(pagenum={}, left={}, top={}, zoom={})'.format(self.as_tuple) return 'AnchorLocation(pagenum={}, left={}, top={}, zoom={})'.format(*self.as_tuple)
@property @property
def as_tuple(self): def as_tuple(self):