mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Get rid of ERROR_IF's "label" parameter (GH-132654)
This commit is contained in:
parent
b329096cfb
commit
732d1b0241
7 changed files with 155 additions and 162 deletions
|
@ -28,7 +28,6 @@ static PyObject *
|
|||
print_expr(PyThreadState* Py_UNUSED(ignored), PyObject *value)
|
||||
{
|
||||
PyObject *hook = _PySys_GetRequiredAttr(&_Py_ID(displayhook));
|
||||
// Can't use ERROR_IF here.
|
||||
if (hook == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue