mirror of
https://github.com/python/cpython.git
synced 2024-11-23 01:45:25 +08:00
gh-126035: add missing whitespace to *Py_EnterRecursiveCall() messages (#126036)
This commit is contained in:
parent
6870eb3f73
commit
19e93e2e26
@ -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);
|
||||
@ -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);
|
||||
|
@ -2425,7 +2425,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;
|
||||
|
Loading…
Reference in New Issue
Block a user