mirror of
https://github.com/python/cpython.git
synced 2026-01-03 14:02:21 +00:00
[3.12] gh-126035: add missing whitespace to *Py_EnterRecursiveCall() messages (GH-126036) (#126059)
(cherry picked from commit 19e93e2e26)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
This commit is contained in:
parent
4c039c0723
commit
9f35fbc068
2 changed files with 3 additions and 3 deletions
|
|
@ -66,7 +66,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);
|
||||
|
|
@ -250,7 +250,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);
|
||||
|
|
|
|||
|
|
@ -2269,7 +2269,7 @@ PyCSimpleType_from_param(PyObject *type, PyObject *value)
|
|||
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue