
Sept. 3, 2021
12:44 a.m.
03.09.21 10:28, Thomas Grainger пише:
the way to make an (aysnc)generator that immediately raises Stop(Async)Iteration immediately is to insert an unreachable `yield` statement, however there's two ways to do it:
I think it is too uncommon case to specify it in PEP 8.