Skip to content

Commit c35fb9b

Browse files
author
Joseph Perez
committed
fix: take in account #3578
1 parent 391f1e0 commit c35fb9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coroutine.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ impl Coroutine {
100100
}
101101
// if waker has been waken during future polling, this is roughly equivalent to
102102
// `await asyncio.sleep(0)`, so just yield `None`.
103-
Ok(IterNextOutput::Yield(py.None()))
103+
Ok(IterNextOutput::Yield(py.None().into()))
104104
}
105105
}
106106

0 commit comments

Comments
 (0)