Skip to content

Commit 6d30ff8

Browse files
committed
Fix loop
1 parent def2cdf commit 6d30ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/protocol/object.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ impl PyObject {
431431
continue;
432432
}
433433
_ => {
434-
if let Some(i) = (0..n).next() {
434+
for i in 0..n {
435435
let check = vm.with_recursion("in abstract_issubclass", || {
436436
tuple[i].abstract_issubclass(cls, vm)
437437
})?;

0 commit comments

Comments
 (0)