Skip to content

Commit c271126

Browse files
committed
2 parents 451ebcc + 7f8da78 commit c271126

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/calibre/utils/formatter_functions.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2664,12 +2664,13 @@ class BuiltinSwapAroundArticles(BuiltinFormatterFunction):
26642664
arg_count = 2
26652665
category = STRING_MANIPULATION
26662666
__doc__ = doc = _(
2667-
r'''
2668-
``swap_around_articles(value, separator)`` -- returns the ``value`` with articles moved to
2669-
the end.[/] The ``value`` can be a list, in which case each item in the list is
2670-
processed. If the ``value`` is a list then you must provide the ``separator``. If no
2671-
``separator`` is provided then the ``value`` is treated as being a single value, not
2672-
a list. The `articles` are those used by calibre to generate the ``title_sort``.
2667+
r''' ``swap_around_articles(value, separator)`` -- returns the ``value`` with
2668+
articles moved to the end, separated by a semicolon.[/] The ``value`` can be a
2669+
list, in which case each item in the list is processed. If the ``value`` is a
2670+
list then you must provide the ``separator``. If no ``separator`` is provided
2671+
or the separator is the empty string then the ``value`` is treated as being a
2672+
single value, not a list. The `articles` are those used by calibre to generate
2673+
the ``title_sort``.
26732674
''')
26742675

26752676
def evaluate(self, formatter, kwargs, mi, locals, val, separator):

0 commit comments

Comments
 (0)