Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix signature
  • Loading branch information
corona10 committed May 15, 2023
commit 1b085dce1c7a6a300ed65d2db02dd4189be9ef9f
6 changes: 3 additions & 3 deletions Modules/_testcapi/clinic/exceptions.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Modules/_testcapi/exceptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,15 +176,15 @@ _testcapi_raise_memoryerror_impl(PyObject *module)
/*[clinic input]
_testcapi.fatal_error
message: str(accept={robuffer})
release_gil: int = 0
release_gil: bool = False
/
fatal_error(message, release_gil=False): call Py_FatalError(message)
[clinic start generated code]*/

static PyObject *
_testcapi_fatal_error_impl(PyObject *module, const char *message,
int release_gil)
/*[clinic end generated code: output=9c3237116e6a03e8 input=50a85c024226f44f]*/
/*[clinic end generated code: output=9c3237116e6a03e8 input=56f76191e4b152d7]*/
{
if (release_gil) {
Py_BEGIN_ALLOW_THREADS
Expand Down