Skip to content

Commit

Permalink
Merge pull request #25 from grooverdan/patch-1
Browse files Browse the repository at this point in the history
correct documentation typo CURSOR_TYPE -> CURSOR
  • Loading branch information
9EOR9 committed Jun 30, 2023
2 parents 62bc714 + d8b337d commit dc22497
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mariadb/connections.py
Expand Up @@ -110,8 +110,8 @@ class will be created.
compatibility reasons and should be avoided due to possible
inconsistency.
- cursor_type = CURSOR_TYPE.NONE
If cursor_type is set to CURSOR_TYPE.READ_ONLY, a cursor is opened
- cursor_type = CURSOR.NONE
If cursor_type is set to CURSOR.READ_ONLY, a cursor is opened
for the statement invoked with cursors execute() method.
- prepared = False
Expand All @@ -132,7 +132,7 @@ class will be created.
due to possible inconsistency in case two or more fields in a result
set have the same name.
If cursor_type is set to CURSOR_TYPE.READ_ONLY, a cursor is opened for
If cursor_type is set to CURSOR.READ_ONLY, a cursor is opened for
the statement invoked with cursors execute() method.
"""
self._check_closed()
Expand Down

0 comments on commit dc22497

Please sign in to comment.