fix PyMemberDef type of two attributes (#395)

This commit is contained in:
Jakub Kulík
2019-11-07 16:59:46 +01:00
committed by Inada Naoki
parent 6222ba69b0
commit 0da81656e9

View File

@ -2302,7 +2302,7 @@ static struct PyMemberDef _mysql_ConnectionObject_memberlist[] = {
},
{
"server_capabilities",
T_UINT,
T_ULONG,
offsetof(_mysql_ConnectionObject,connection.server_capabilities),
READONLY,
"Capabilities of server; consult MySQLdb.constants.CLIENT"
@ -2316,7 +2316,7 @@ static struct PyMemberDef _mysql_ConnectionObject_memberlist[] = {
},
{
"client_flag",
T_UINT,
T_ULONG,
offsetof(_mysql_ConnectionObject,connection.client_flag),
READONLY,
"Client flags; refer to MySQLdb.constants.CLIENT"