mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
string changes
This commit is contained in:
parent
98a36a42f9
commit
6541318e5a
@ -1179,9 +1179,9 @@ class BuiltinSelect(BuiltinFormatterFunction):
|
|||||||
__doc__ = doc = _(
|
__doc__ = doc = _(
|
||||||
r'''
|
r'''
|
||||||
``select(value, key)`` -- interpret the ``value`` as a comma-separated list of items with
|
``select(value, key)`` -- interpret the ``value`` as a comma-separated list of items with
|
||||||
each item having the form ``id:value`` (the calibre ``identifier`` format). The
|
each item having the form ``id:id_value`` (the calibre ``identifier`` format). The
|
||||||
function finds the first pair with the id equal to ``key`` and returns the
|
function finds the first pair with the id equal to ``key`` and returns the
|
||||||
corresponding ``value``. If no id matches then the function returns the empty
|
corresponding ``id_value``. If no id matches then the function returns the empty
|
||||||
string.
|
string.
|
||||||
''')
|
''')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user