mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #26687: Use Py_RETURN_NONE macro in sqlite3 module
This commit is contained in:
parent
8278d13f0e
commit
fe21de9836
4 changed files with 16 additions and 32 deletions
|
@ -244,8 +244,7 @@ PyObject* pysqlite_cache_display(pysqlite_Cache* self, PyObject* args)
|
|||
ptr = ptr->next;
|
||||
}
|
||||
|
||||
Py_INCREF(Py_None);
|
||||
return Py_None;
|
||||
Py_RETURN_NONE;
|
||||
}
|
||||
|
||||
static PyMethodDef cache_methods[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue