mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-28 14:55:44 +01:00
...
This commit is contained in:
parent
21de8718d7
commit
018bf4697b
1 changed files with 1 additions and 1 deletions
|
|
@ -503,7 +503,7 @@ def __init__(self, pagenum=1, left=0, top=0, zoom=0):
|
|||
self.pagenum, self.left, self.top, self.zoom = pagenum, left, top, zoom
|
||||
|
||||
def __repr__(self):
|
||||
return 'AnchorLocation(pagenum={}, left={}, top={}, zoom={})'.format(self.as_tuple)
|
||||
return 'AnchorLocation(pagenum={}, left={}, top={}, zoom={})'.format(*self.as_tuple)
|
||||
|
||||
@property
|
||||
def as_tuple(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue