Skip to content

Commit

Permalink
correct documentation typo CURSOR_TYPE -> CURSOR
Browse files Browse the repository at this point in the history
There is no CURSOR_TYPE, only CURSOR.
  • Loading branch information
grooverdan committed Jun 30, 2023
1 parent 62bc714 commit d8b337d
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 d8b337d

Please sign in to comment.