diff --git a/py.cpp b/py.cpp index b651e3d0..87a45d63 100644 --- a/py.cpp +++ b/py.cpp @@ -14,11 +14,6 @@ namespace py { -void expect_and_absorb_non_null(PyObject* p) -{ - Py_XDECREF(expect_non_null(p)); -} - // IMPORTANT: this function may only be called from within a catch block! void handle_exception() {