8000 Fix formatting · python/cpython@3e41b46 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3e41b46

Browse files
committed
Fix formatting
1 parent 75d3219 commit 3e41b46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/ceval.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ _Py_CheckRecursiveCall(PyThreadState *tstate, const char *where)
390390
/* Overflowing while handling an overflow. Give up. */
391391
int kbytes_used = (tstate->c_stack_top - here_addr)/1024;
392392
char buffer[80];
393-
snprintf(buffer, 80, "Unrecoverable stack overflow (used %dkb)%s", kbytes_used, where);
393+
snprintf(buffer, 80, "Unrecoverable stack overflow (used %d kB)%s", kbytes_used, where);
394394
Py_FatalError(buffer);
395395
}
396396
if (tstate->recursion_headroom) {
@@ -400,7 +400,7 @@ _Py_CheckRecursiveCall(PyThreadState *tstate, const char *where)
400400
int kbytes_used = (tstate->c_stack_top - here_addr)/1024;
401401
tstate->recursion_headroom++;
402402
_PyErr_Format(tstate, PyExc_RecursionError,
403-
"Stack overflow (used %dkb)S%s",
403+
"Stack overflow (used %d kB)%s",
404404
kbytes_used,
405405
where);
406406
tstate->recursion_headroom--;

0 commit comments

Comments
 (0)
0