We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d16ced6 commit 10c6f9fCopy full SHA for 10c6f9f
_mysql.c
@@ -378,8 +378,8 @@ _mysql_ResultObject_Initialize(
378
int n, i;
379
MYSQL_FIELD *fields;
380
381
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|iO", kwlist,
382
- &conn, &use, &conv))
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O!|iO", kwlist,
+ &_mysql_ConnectionObject_Type, &conn, &use, &conv))
383
return -1;
384
if (!conv) {
385
if (!(conv = PyDict_New()))
0 commit comments