mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
64590fddf7
commit
b01d47d6a8
@ -49,7 +49,7 @@ class Function(object):
|
||||
def __repr__(self):
|
||||
# For some reason x._Formals is undefined in duktape
|
||||
x = self.func
|
||||
return str('function: %s(...) from file: %s' % (x.name, x.fileName))
|
||||
return str('[Function: %s(...) from file: %s]' % (x.name, x.fileName))
|
||||
|
||||
def __call__(self, *args, **kwargs):
|
||||
return self.func(*args, **kwargs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user