Skip to content

Commit ad1e8e5

Browse files
committed
Fixed arguments order
Bug in documentation, found by trial and error
1 parent 04f3760 commit ad1e8e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: doc/guide.en.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ method should be used.
184184

185185
Example::
186186

187-
>>> user.update(1001, [(1, '=', 'John'), (2, '=', 'Smith')])
187+
>>> user.update(1001, [('=', 1, 'John'), ('=', 2, 'Smith')])
188188

189189
In this example new values for fields ``1`` and ``2`` are assigned.
190190

@@ -286,4 +286,4 @@ Example::
286286

287287
.. seealso::
288288

289-
Tarantool/Box User Guide » `Writing stored procedures in Lua <http://tarantool.org/tarantool_user_guide.html#stored-programs>`_
289+
Tarantool/Box User Guide » `Writing stored procedures in Lua <http://tarantool.org/tarantool_user_guide.html#stored-programs>`_

0 commit comments

Comments
 (0)