Skip to content

Commit c9af527

Browse files
committed
WIP: Add change log and migration guide entries.
1 parent d4c2c09 commit c9af527

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

newsfragments/3661.changed.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The `Iter(A)NextOutput` types are now deprecated and `__(a)next__` can directly return anything which can be converted into Python objects, i.e. awaitables do not need to be wrapped into `IterANextOutput` or `Option` any more. `Option` can still be used as well and returning `None` will trigger the fast path for `__next__`, stopping iteration without having to raise a `StopIteration` exception.

0 commit comments

Comments
 (0)