From ab3ae444dfbbdd929099096a07153c906b5d8290 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Thu, 16 Nov 2000 17:14:55 +0000 Subject: [PATCH] removed expect_and_absorb_non_null [SVN r8231] --- py.cpp | 5 ----- 1 file changed, 5 deletions(-) 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() {