From da6c78584b1f45ce3766bf7f27fb033169715292 Mon Sep 17 00:00:00 2001 From: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com> Date: Tue, 19 Apr 2022 14:02:19 -0400 Subject: gh-90667: Add specializations of Py_DECREF when types are known (GH-30872) --- Include/internal/pycore_pyerrors.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Include/internal/pycore_pyerrors.h') diff --git a/Include/internal/pycore_pyerrors.h b/Include/internal/pycore_pyerrors.h index e3c445ba5d9..66f37942ef9 100644 --- a/Include/internal/pycore_pyerrors.h +++ b/Include/internal/pycore_pyerrors.h @@ -100,13 +100,6 @@ extern PyObject* _Py_Offer_Suggestions(PyObject* exception); PyAPI_FUNC(Py_ssize_t) _Py_UTF8_Edit_Cost(PyObject *str_a, PyObject *str_b, Py_ssize_t max_cost); -PyAPI_FUNC(void) _Py_NO_RETURN _Py_FatalRefcountErrorFunc( - const char *func, - const char *message); - -#define _Py_FatalRefcountError(message) _Py_FatalRefcountErrorFunc(__func__, message) - - #ifdef __cplusplus } #endif -- cgit v1.2.3