mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 19:40:18 +00:00
...
This commit is contained in:
parent
b99c3ed220
commit
53fc4f36df
@ -235,7 +235,7 @@ bool py_exception(py_Type type, const char* fmt, ...) {
|
|||||||
c11_sbuf__py_submit(&buf, message);
|
c11_sbuf__py_submit(&buf, message);
|
||||||
|
|
||||||
bool ok = py_tpcall(type, 1, message);
|
bool ok = py_tpcall(type, 1, message);
|
||||||
if(!ok) c11__abort("py_exception(): failed to create exception object");
|
if(!ok) return false;
|
||||||
py_pop();
|
py_pop();
|
||||||
|
|
||||||
return py_raise(py_retval());
|
return py_raise(py_retval());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user