Skip to content

Commit 50fcc2a

Browse files
committed
WIP: Add change log and migration guide entries.
1 parent 874ab10 commit 50fcc2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

newsfragments/3661.changed.md

Lines changed: 1 addition & 0 deletions
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)