From f2bead98ab49d3e45d39cc8418afb1878e4dab63 Mon Sep 17 00:00:00 2001 From: lenkis <elena.shebunyaeva@gmail.com> Date: Thu, 30 Jun 2016 14:07:29 +0300 Subject: [PATCH] Fix incorrect formatting for paged_iter function. --- doc/sphinx/book/box/box_index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/sphinx/book/box/box_index.rst b/doc/sphinx/book/box/box_index.rst index 6c5af3f335..332f5ab09a 100644 --- a/doc/sphinx/book/box/box_index.rst +++ b/doc/sphinx/book/box/box_index.rst @@ -842,7 +842,7 @@ Lua functions `os.date()`_ and `string.sub()`_. ================================================================= Here is an example that shows how to build one's own iterator. -The :func:`paged_iter` function is an "iterator function", which will only be +The ``paged_iter`` function is an "iterator function", which will only be understood by programmers who have read the Lua manual section `Iterators and Closures <https://www.lua.org/pil/7.1.html>`_. @@ -865,7 +865,7 @@ primary key was defined with end end -Programmers who use :func:`paged_iter` do not need to know +Programmers who use ``paged_iter`` do not need to know why it works, they only need to know that, if they call it within a loop, they will get 10 tuples at a time until there are no more tuples. In this -- GitLab