8000 [3.12] gh-126035: add missing whitespace to *Py_EnterRecursiveCall() … · python/cpython@9f35fbc · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 9f35fbc

Browse files
[3.12] gh-126035: add missing whitespace to *Py_EnterRecursiveCall() messages (GH-126036) (#126059)
(cherry picked from commit 19e93e2) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent 4c039c0 commit 9f35fbc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Modules/_bisectmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ internal_bisect_right(PyObject *list, PyObject *item, Py_ssize_t lo, Py_ssize_t
6666
if (sq_item == NULL) {
6767
return -1;
6868
}
69-
if (Py_EnterRecursiveCall("in _bisect.bisect_right")) {
69+
if (Py_EnterRecursiveCall(" in _bisect.bisect_right")) {
7070
return -1;
7171
}
7272
PyTypeObject *tp = Py_TYPE(item);
@@ -250,7 +250,7 @@ internal_bisect_left(PyObject *list, PyObject *item, Py_ssize_t lo, Py_ssize_t h
250250
if (sq_item == NULL) {
251251
return -1;
252252
}
253-
if (Py_EnterRecursiveCall("in _bisect.bisect_left")) {
253+
if (Py_EnterRecursiveCall(" in _bisect.bisect_left")) {
254254
return -1;
255255
}
256256
PyTypeObject *tp = Py_TYPE(item);

Modules/_ctypes/_ctypes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2269,7 +2269,7 @@ PyCSimpleType_from_param(PyObject *type, PyObject *value)
22692269
return NULL;
22702270
}
22712271
if (as_parameter) {
2272-
if (_Py_EnterRecursiveCall("while processing _as_parameter_")) {
2272+
if (_Py_EnterRecursiveCall(" while processing _as_parameter_")) {
22732273
Py_DECREF(as_parameter);
22742274
Py_XDECREF(exc);
22752275
return NULL;

0 commit comments

Comments
 (0)
0