diff options
author | Victor Stinner <vstinner@python.org> | 2025-01-31 09:45:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-31 09:45:35 +0100 |
commit | 95504f429eec04010d0b815345ebcc3af2402af0 (patch) | |
tree | ff42a5c906cab4c4b6b22e1580893fd2d1114485 /Python/jit.c | |
parent | 3ebe3d7688475e98a34d691e1ba50d8b7178a575 (diff) | |
download | cpython-95504f429eec04010d0b815345ebcc3af2402af0.tar.gz cpython-95504f429eec04010d0b815345ebcc3af2402af0.zip |
gh-129354: Fix grammar in PyErr_FormatUnraisable() (#129475)
Replace "on verb+ing" with "while verb+ing".
Diffstat (limited to 'Python/jit.c')
-rw-r--r-- | Python/jit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/jit.c b/Python/jit.c index 4b01112f9b0..33c2418084b 100644 --- a/Python/jit.c +++ b/Python/jit.c @@ -563,7 +563,8 @@ _PyJIT_Free(_PyExecutorObject *executor) executor->jit_side_entry = NULL; executor->jit_size = 0; if (jit_free(memory, size)) { - PyErr_FormatUnraisable("Exception ignored when freeing JIT memory"); + PyErr_FormatUnraisable("Exception ignored while " + "freeing JIT memory"); } } } |