Skip to content

Commit 70ed9b4

Browse files
committed
Added missing docstring for cursor.paramcount
1 parent f2fc6e8 commit 70ed9b4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

include/docs/cursor.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,3 +144,9 @@ PyDoc_STRVAR(
144144
"Indicates if the current result set contains in out or out parameter\n"
145145
"from a previous executed stored procedure."
146146
);
147+
148+
PyDoc_STRVAR(
149+
cursor_paramcount__doc__,
150+
"(read)\n\n"
151+
"Returns the number of parameter markers present in the executed statement."
152+
);

mariadb/mariadb_cursor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ static struct PyMemberDef MrdbCursor_Members[] =
208208
T_UINT,
209209
offsetof(MrdbCursor, parseinfo.paramcount),
210210
READONLY,
211-
MISSING_DOC},
211+
cursor_paramcount__doc__},
212212
{"_data",
213213
T_OBJECT,
214214
offsetof(MrdbCursor, data),

0 commit comments

Comments
 (0)