Skip to content

Commit 1134124

Browse files
authored
Merge pull request #221 from Peter200lx/patch-1
Correct autocommit example introduction to match
2 parents 1223fe3 + 43cdcf4 commit 1134124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Let's take basic example of :meth:`Cursor.execute` method::
115115
116116
Please note that you need to manually call :func:`commit()` bound to your :term:`Connection` object, because by default it's set to ``False`` or in :meth:`aiomysql.connect()` you can transfer addition keyword argument ``autocommit=True``.
117117

118-
Example with ``autocommit=False``::
118+
Example with ``autocommit=True``::
119119

120120
import asyncio
121121
import aiomysql

0 commit comments

Comments
 (0)