summaryrefslogtreecommitdiffstats
path: root/Python/executor_cases.c.h
diff options
context:
space:
mode:
Diffstat (limited to 'Python/executor_cases.c.h')
-rw-r--r--Python/executor_cases.c.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/executor_cases.c.h b/Python/executor_cases.c.h
index 0de5c8a..d4be790 100644
--- a/Python/executor_cases.c.h
+++ b/Python/executor_cases.c.h
@@ -390,7 +390,7 @@
}
STAT_INC(TO_BOOL, hit);
if (_PyLong_IsZero((PyLongObject *)value_o)) {
- assert(_Py_IsImmortal(value_o));
+ assert(_Py_IsImmortalLoose(value_o));
res = PyStackRef_False;
}
else {
@@ -443,7 +443,7 @@
}
STAT_INC(TO_BOOL, hit);
if (value_o == &_Py_STR(empty)) {
- assert(_Py_IsImmortal(value_o));
+ assert(_Py_IsImmortalLoose(value_o));
res = PyStackRef_False;
}
else {