summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/bytecodes.c1
-rw-r--r--Python/generated_cases.c.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index e4c97de..d28cbd7 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -1183,7 +1183,6 @@ dummy_func(
assert(!_PyErr_Occurred(tstate));
}
else {
- assert(PyLong_Check(lasti));
_PyErr_SetString(tstate, PyExc_SystemError, "lasti is not an int");
ERROR_NO_POP();
}
diff --git a/Python/generated_cases.c.h b/Python/generated_cases.c.h
index e560372..5890fce 100644
--- a/Python/generated_cases.c.h
+++ b/Python/generated_cases.c.h
@@ -5875,7 +5875,6 @@
assert(!_PyErr_Occurred(tstate));
}
else {
- assert(PyLong_Check(lasti));
_PyErr_SetString(tstate, PyExc_SystemError, "lasti is not an int");
goto error;
}