From ad1e8e50ff0311b87021c939557d26ada597d5fb Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 27 Feb 2015 13:48:01 +0300 Subject: [PATCH] Fixed arguments order Bug in documentation, found by trial and error --- doc/guide.en.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guide.en.rst b/doc/guide.en.rst index b9f71a3f..e30eac0f 100644 --- a/doc/guide.en.rst +++ b/doc/guide.en.rst @@ -184,7 +184,7 @@ method should be used. Example:: - >>> user.update(1001, [(1, '=', 'John'), (2, '=', 'Smith')]) + >>> user.update(1001, [('=', 1, 'John'), ('=', 2, 'Smith')]) In this example new values for fields ``1`` and ``2`` are assigned. @@ -286,4 +286,4 @@ Example:: .. seealso:: - Tarantool/Box User Guide » `Writing stored procedures in Lua `_ \ No newline at end of file + Tarantool/Box User Guide » `Writing stored procedures in Lua `_