mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
Update pocketpy.h
This commit is contained in:
parent
34916d7578
commit
8a257199a3
@ -230,7 +230,7 @@ void py_printexc();
|
||||
/// Format the last error to a string.
|
||||
void py_formatexc(char* out);
|
||||
|
||||
#define KeyError(q) py_exception("KeyError", "'%q'", (q))
|
||||
#define KeyError(q) py_exception("KeyError", "%q", (q))
|
||||
#define NameError(n) py_exception("NameError", "name '%n' is not defined", (n))
|
||||
#define TypeError(...) py_exception("TypeError", __VA_ARGS__)
|
||||
#define ValueError(...) py_exception("ValueError", __VA_ARGS__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user