dabeaz / curio

Good Curio!
Other
4.05k stars 244 forks source link

Fix AsyncCountdownIter example in docs/devel.rst #273

Closed justinmoon closed 6 years ago

justinmoon commented 6 years ago

This is how the example should run:

>>> run(main)
T-minus 5
T-minus 4
T-minus 3
T-minus 2
T-minus 1

Prior to this fix, it stops at 2:

>>> run(main)
T-minus 5
T-minus 4
T-minus 3
T-minus 2