From 1ac8b81a910c30abc54a295a4d203e424d8e3690 Mon Sep 17 00:00:00 2001 From: andreyaksenov Date: Tue, 3 Oct 2023 13:02:34 +0300 Subject: [PATCH] Use a 'luafun' iterator --- doc/reference/reference_lua/box_index/pairs.rst | 4 ++-- doc/reference/reference_lua/box_space/pairs.rst | 4 ++-- .../LC_MESSAGES/reference/reference_lua/box_index/pairs.po | 6 +++--- .../LC_MESSAGES/reference/reference_lua/box_space/pairs.po | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/reference/reference_lua/box_index/pairs.rst b/doc/reference/reference_lua/box_index/pairs.rst index fffa218410..98220ab8dc 100644 --- a/doc/reference/reference_lua/box_index/pairs.rst +++ b/doc/reference/reference_lua/box_index/pairs.rst @@ -52,8 +52,8 @@ index_object:pairs() :param after: a tuple or the position of a tuple (:ref:`tuple_pos `) after which ``pairs`` starts the search. You can pass an empty string or :ref:`box.NULL ` to this option to start the search from the first tuple. - :return: The `iterator `_, which can be - used in a for/end loop or with `totable() + :return: The `iterator `_, which can be + used in a ``for/end`` loop or with `totable() `_. **Possible errors:** diff --git a/doc/reference/reference_lua/box_space/pairs.rst b/doc/reference/reference_lua/box_space/pairs.rst index b1a5151f3f..fa659a6aa9 100644 --- a/doc/reference/reference_lua/box_space/pairs.rst +++ b/doc/reference/reference_lua/box_space/pairs.rst @@ -19,8 +19,8 @@ space_object:pairs() :param iterator: the :ref:`iterator type `. The default iterator type is 'EQ' :param after: a tuple or the position of a tuple (:ref:`tuple_pos `) after which ``pairs`` starts the search. You can pass an empty string or :ref:`box.NULL ` to this option to start the search from the first tuple. - :return: The `iterator `_, which can be - used in a for/end loop or with `totable() + :return: The `iterator `_, which can be + used in a ``for/end`` loop or with `totable() `_. **Possible errors:** diff --git a/locale/ru/LC_MESSAGES/reference/reference_lua/box_index/pairs.po b/locale/ru/LC_MESSAGES/reference/reference_lua/box_index/pairs.po index 1a1afade9e..453772d5bb 100644 --- a/locale/ru/LC_MESSAGES/reference/reference_lua/box_index/pairs.po +++ b/locale/ru/LC_MESSAGES/reference/reference_lua/box_index/pairs.po @@ -89,11 +89,11 @@ msgid "return" msgstr "возвращает" msgid "" -"`iterator `_ which can be used in a " -"for/end loop or with `totable() " +"`iterator `_ which can be used in a " +"``for/end`` loop or with `totable() " "`_" msgstr "" -"`итератор `_, который может использовать в" +"`итератор `_, который может использовать в" " цикле for/end или с функцией `totable() " "`_" diff --git a/locale/ru/LC_MESSAGES/reference/reference_lua/box_space/pairs.po b/locale/ru/LC_MESSAGES/reference/reference_lua/box_space/pairs.po index 7ac59d7b2b..94341c1dfd 100644 --- a/locale/ru/LC_MESSAGES/reference/reference_lua/box_space/pairs.po +++ b/locale/ru/LC_MESSAGES/reference/reference_lua/box_space/pairs.po @@ -26,11 +26,11 @@ msgid "return" msgstr "возвращает" msgid "" -"`iterator `_ which can be used in a " -"for/end loop or with `totable() " +"`iterator `_ which can be used in a " +"``for/end`` loop or with `totable() " "`_" msgstr "" -"`итератор `_, который может использовать в" +"`итератор `_, который может использовать в" " цикле for/end или с функцией `totable() " "`_"