summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite/prepare_protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_sqlite/prepare_protocol.c')
-rw-r--r--Modules/_sqlite/prepare_protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sqlite/prepare_protocol.c b/Modules/_sqlite/prepare_protocol.c
index 181c7ed..05a2ca5 100644
--- a/Modules/_sqlite/prepare_protocol.c
+++ b/Modules/_sqlite/prepare_protocol.c
@@ -78,6 +78,6 @@ PyTypeObject pysqlite_PrepareProtocolType= {
extern int pysqlite_prepare_protocol_setup_types(void)
{
pysqlite_PrepareProtocolType.tp_new = PyType_GenericNew;
- Py_TYPE(&pysqlite_PrepareProtocolType)= &PyType_Type;
+ Py_SET_TYPE(&pysqlite_PrepareProtocolType, &PyType_Type);
return PyType_Ready(&pysqlite_PrepareProtocolType);
}