aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/intrinsics.c
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2025-04-29 17:21:53 -0700
committerGitHub <noreply@github.com>2025-04-29 17:21:53 -0700
commit732d1b02417e91d6a4247879e290065287cc6b51 (patch)
treedc0569fc581bcc6d26649df341bead9e47cff7a0 /Python/intrinsics.c
parentb329096cfbebb60e0f5c3ea0a300f650d2004200 (diff)
downloadcpython-732d1b02417e91d6a4247879e290065287cc6b51.tar.gz
cpython-732d1b02417e91d6a4247879e290065287cc6b51.zip
Get rid of ERROR_IF's "label" parameter (GH-132654)
Diffstat (limited to 'Python/intrinsics.c')
-rw-r--r--Python/intrinsics.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/intrinsics.c b/Python/intrinsics.c
index 1c7d7ee6c12..ff44ba0ee64 100644
--- a/Python/intrinsics.c
+++ b/Python/intrinsics.c
@@ -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;
}