commit | 87d3b9db4ade1aa100ee6f065082cb7e85b8992f | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Wed Mar 25 19:27:36 2020 +0100 |
committer | GitHub <noreply@github.com> | Wed Mar 25 19:27:36 2020 +0100 |
tree | 85d17fff35bc28beb4a7c6e3a82276f2fa3760d5 | |
parent | ace018ca47c03ca699603341b12781b5329d2eaa [diff] |
bpo-39882: Add _Py_FatalErrorFormat() function (GH-19157)
diff --git a/Include/cpython/pyerrors.h b/Include/cpython/pyerrors.h index ab2e740..cdd0520 100644 --- a/Include/cpython/pyerrors.h +++ b/Include/cpython/pyerrors.h
@@ -182,6 +182,11 @@ const char *func, const char *message); +PyAPI_FUNC(void) _Py_NO_RETURN _Py_FatalErrorFormat( + const char *func, + const char *format, + ...); + #define Py_FatalError(message) _Py_FatalErrorFunc(__func__, message) #ifdef __cplusplus