Skip to content

Commit

Permalink
[3.13] gh-126035: add missing whitespace to *Py_EnterRecursiveCall() …
Browse files Browse the repository at this point in the history
…messages (GH-126036) (#126058)

(cherry picked from commit 19e93e2)

Co-authored-by: Bénédikt Tran <[email protected]>
  • Loading branch information
miss-islington and picnixz authored Oct 27, 2024
1 parent ff044ed commit 97c2e6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Modules/_bisectmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ internal_bisect_right(PyObject *list, PyObject *item, Py_ssize_t lo, Py_ssize_t
if (sq_item == NULL) {
return -1;
}
if (Py_EnterRecursiveCall("in _bisect.bisect_right")) {
if (Py_EnterRecursiveCall(" in _bisect.bisect_right")) {
return -1;
}
PyTypeObject *tp = Py_TYPE(item);
Expand Down Expand Up @@ -254,7 +254,7 @@ internal_bisect_left(PyObject *list, PyObject *item, Py_ssize_t lo, Py_ssize_t h
if (sq_item == NULL) {
return -1;
}
if (Py_EnterRecursiveCall("in _bisect.bisect_left")) {
if (Py_EnterRecursiveCall(" in _bisect.bisect_left")) {
return -1;
}
PyTypeObject *tp = Py_TYPE(item);
Expand Down
2 changes: 1 addition & 1 deletion Modules/_ctypes/_ctypes.c
Original file line number Diff line number Diff line change
Expand Up @@ -2413,7 +2413,7 @@ PyCSimpleType_from_param_impl(PyObject *type, PyTypeObject *cls,
return NULL;
}
if (as_parameter) {
if (_Py_EnterRecursiveCall("while processing _as_parameter_")) {
if (_Py_EnterRecursiveCall(" while processing _as_parameter_")) {
Py_DECREF(as_parameter);
Py_XDECREF(exc);
return NULL;
Expand Down

0 comments on commit 97c2e6a

Please sign in to comment.