mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
Update formatter_functions.py
Remove spurious parentheses
This commit is contained in:
parent
a3b113c5b8
commit
ab9a0d3e57
@ -2805,10 +2805,10 @@ r'''
|
|||||||
``globals(id[=expression] [, id[=expression]]*)`` -- Retrieves "global variables"
|
``globals(id[=expression] [, id[=expression]]*)`` -- Retrieves "global variables"
|
||||||
that can be passed into the formatter.[/] The name ``id`` is the name of the global
|
that can be passed into the formatter.[/] The name ``id`` is the name of the global
|
||||||
variable. It both declares and initializes local variables with the names of the
|
variable. It both declares and initializes local variables with the names of the
|
||||||
global variables passed in (the ``id`` parameters. If the corresponding variable is not
|
global variables passed in the ``id`` parameters. If the corresponding variable is not
|
||||||
provided in the globals then it assigns that variable the provided default
|
provided in the globals then it assigns that variable the provided default
|
||||||
value. If there is no default value then the variable is set to the empty
|
value. If there is no default value then the variable is set to the empty
|
||||||
string.)
|
string.
|
||||||
''')
|
''')
|
||||||
|
|
||||||
def evaluate(self, formatter, kwargs, mi, locals, *args):
|
def evaluate(self, formatter, kwargs, mi, locals, *args):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user