connector
This commit is contained in:
parent
ba70df8f84
commit
7bc4b38250
@ -230,7 +230,7 @@ static PyObject *CACHE_delete(CACHE *self, PyObject *args) {
|
|||||||
PyObject *instead = NULL;
|
PyObject *instead = NULL;
|
||||||
if (!PyArg_ParseTuple(args, "O|O", &key, &instead)) return NULL;
|
if (!PyArg_ParseTuple(args, "O|O", &key, &instead)) return NULL;
|
||||||
Node *node = GET_NODE(self->dict, key);
|
Node *node = GET_NODE(self->dict, key);
|
||||||
PyErr_Clear();
|
|
||||||
if (!node) {
|
if (!node) {
|
||||||
if (!instead) {
|
if (!instead) {
|
||||||
Py_XDECREF(node);
|
Py_XDECREF(node);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user