Skip to content

Commit

Permalink
Fix erroneous documentation that pretended cursor had a commit method…
Browse files Browse the repository at this point in the history
… - it does not. Fixes #163
  • Loading branch information
MathMagique committed Jul 6, 2018
1 parent 63e68c5 commit 912619a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/advanced_usage.rst
Expand Up @@ -113,7 +113,7 @@ Autocommit

Set ``autocommit`` to ``True`` if you want the database to ``COMMIT`` your
changes automatically after each query or command. By default, ``autocommit``
is disabled and users are required to call ``cursor.commit()`` to persist
is disabled and users are required to call ``connection.commit()`` to persist
their changes.

.. note::
Expand Down

0 comments on commit 912619a

Please sign in to comment.