co_varnames is certainly a tuple, so let's not waste time finding out
diff --git a/Python/ceval.c b/Python/ceval.c
index b1d7346..7ce3e51 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -3099,7 +3099,7 @@
}
/* Speed hack: do raw pointer compares. As names are
normally interned this should almost always hit. */
- co_varnames = PySequence_Fast_ITEMS(co->co_varnames);
+ co_varnames = ((PyTupleObject *)(co->co_varnames))->ob_item;
for (j = 0; j < co->co_argcount; j++) {
PyObject *nm = co_varnames[j];
if (nm == keyword)