mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
Remove blank lines from formats_paths() documentation
This commit is contained in:
parent
89827fde3a
commit
baa0756113
@ -1284,6 +1284,7 @@ class BuiltinFormatsSizes(BuiltinFormatterFunction):
|
|||||||
category = GET_FROM_METADATA
|
category = GET_FROM_METADATA
|
||||||
__doc__ = doc = _(
|
__doc__ = doc = _(
|
||||||
r'''
|
r'''
|
||||||
|
|
||||||
``formats_sizes()`` -- return a comma-separated list of colon-separated
|
``formats_sizes()`` -- return a comma-separated list of colon-separated
|
||||||
``FMT:SIZE`` items giving the sizes of the formats of a book in bytes.[/] You can
|
``FMT:SIZE`` items giving the sizes of the formats of a book in bytes.[/] You can
|
||||||
use the ``select()`` function to get the size for a specific format. Note that
|
use the ``select()`` function to get the size for a specific format. Note that
|
||||||
@ -1304,15 +1305,12 @@ class BuiltinFormatsPaths(BuiltinFormatterFunction):
|
|||||||
category = GET_FROM_METADATA
|
category = GET_FROM_METADATA
|
||||||
__doc__ = doc = _(
|
__doc__ = doc = _(
|
||||||
r'''
|
r'''
|
||||||
|
|
||||||
``formats_paths([separator])`` -- return a ``separator``-separated list of
|
``formats_paths([separator])`` -- return a ``separator``-separated list of
|
||||||
colon-separated items ``FMT:PATH`` giving the full path to the formats of a
|
colon-separated items ``FMT:PATH`` giving the full path to the formats of a
|
||||||
book.[/] The ``separator`` argument is optional. If not supplied then the
|
book.[/] The ``separator`` argument is optional. If not supplied then the
|
||||||
seoarator is ``', '`` (comma space). If the separator is a comma then you can
|
seoarator is ``', '`` (comma space). If the separator is a comma then you can
|
||||||
use the ``select()`` function to get the path for a specific format. Note that
|
use the ``select()`` function to get the path for a specific format. Note that
|
||||||
format names are always uppercase, as in EPUB.
|
format names are always uppercase, as in EPUB.
|
||||||
|
|
||||||
|
|
||||||
''')
|
''')
|
||||||
|
|
||||||
def evaluate(self, formatter, kwargs, mi, locals, sep=','):
|
def evaluate(self, formatter, kwargs, mi, locals, sep=','):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user