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 7859269..799f3b7 100644
--- a/Python/executor_cases.c.h
+++ b/Python/executor_cases.c.h
@@ -347,7 +347,7 @@
}
STAT_INC(TO_BOOL, hit);
if (_PyLong_IsZero((PyLongObject *)value)) {
- assert(_Py_IsImmortal(value));
+ assert(_Py_IsImmortalLoose(value));
res = Py_False;
}
else {
@@ -398,7 +398,7 @@
}
STAT_INC(TO_BOOL, hit);
if (value == &_Py_STR(empty)) {
- assert(_Py_IsImmortal(value));
+ assert(_Py_IsImmortalLoose(value));
res = Py_False;
}
else {