Local implementation of `itertools.count()` to allow v2.6 compatibility.
(start=0, step=1)
| 4 | |
| 5 | |
| 6 | def count(start=0, step=1): |
| 7 | """ |
| 8 | Local implementation of `itertools.count()` to allow v2.6 compatibility. |
| 9 | """ |
| 10 | n = start |
| 11 | while True: |
| 12 | yield n |
| 13 | n += step |
no outgoing calls
searching dependent graphs…