[issue38424] typing.Generator shorthand

Oct. 11, 2019
6:34 p.m.
Ivan Levkivskyi <levkivskyi@gmail.com> added the comment: Actually Serhiy is right, I just checked and found this sentence: ``` Alternatively, annotate your generator as having a return type of either Iterable[YieldType] or Iterator[YieldType] ``` ---------- resolution: -> works for me stage: -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue38424> _______________________________________
1951
Age (days ago)
1951
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ivan Levkivskyi