Skip to content

Commit 1e9b95f

Browse files
committed
Fix incorrect type
1 parent fb28e06 commit 1e9b95f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Python/optimizer_bytecodes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ dummy_func(void) {
975975
// We cannot do anything about tuples with unknown length
976976
PyObject *out = Py_False;
977977
for (int i = 0; i < length; i++) {
978-
JitOptSymbol *item = sym_tuple_getitem(ctx, cls, i);
978+
JitOptRef item = sym_tuple_getitem(ctx, cls, i);
979979
if (!sym_has_type(item)) {
980980
// There is an unknown item in the tuple.
981981
// It could potentially define its own __instancecheck__

Python/optimizer_cases.c.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)