|
* This includes async iterators: If you write ``async for ... in <a |
|
trio object>``, then there will be at least one checkpoint before |
|
each iteration of the loop and one checkpoint after the last |
|
iteration. |
Does this mean exactly one checkpoint after the last iteration, or at least one? I'm pretty sure it's the latter but that's not entirely obvious from reading, and adding one of those specifiers would remove any doubt🙂
trio/docs/source/reference-core.rst
Lines 92 to 95 in 077e8fc
Does this mean exactly one checkpoint after the last iteration, or at least one? I'm pretty sure it's the latter but that's not entirely obvious from reading, and adding one of those specifiers would remove any doubt🙂