diff options
-rw-r--r-- | Modules/operator.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/operator.c b/Modules/operator.c index c38ec16..25b0737 100644 --- a/Modules/operator.c +++ b/Modules/operator.c @@ -292,9 +292,7 @@ compare_digest(PyObject *self, PyObject *args) PyBuffer_Release(&view_b); } - result = PyBool_FromLong(rc); - Py_INCREF(result); - return result; + return PyBool_FromLong(rc); } /* operator methods **********************************************************/ |