mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
...
This commit is contained in:
parent
fad94f155c
commit
e9a314a0c9
@ -1072,7 +1072,9 @@ class BuiltinAnd(BuiltinFormatterFunction):
|
|||||||
__doc__ = doc = _('and(value, value, ...) -- '
|
__doc__ = doc = _('and(value, value, ...) -- '
|
||||||
'returns the string "1" if all values are not empty, otherwise '
|
'returns the string "1" if all values are not empty, otherwise '
|
||||||
'returns the empty string. This function works well with test or '
|
'returns the empty string. This function works well with test or '
|
||||||
'first_non_empty. You can have as many values as you want.')
|
'first_non_empty. You can have as many values as you want. '
|
||||||
|
'When more than one value is present it will return "1" only if '
|
||||||
|
'all the values are not empty.')
|
||||||
|
|
||||||
def evaluate(self, formatter, kwargs, mi, locals, *args):
|
def evaluate(self, formatter, kwargs, mi, locals, *args):
|
||||||
i = 0
|
i = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user