Replies: 1 comment
-
It's working fine. My mistake. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Given a list
list[T]
, when using thenext
function with the defaultNone
, the type should narrow downT | None
toT
, becausewhile
loop will catch theNone
type, and stop the iteration.Beta Was this translation helpful? Give feedback.
All reactions