MCPcopy Create free account
hub / github.com/scanny/python-pptx / count

Function count

features/steps/helpers.py:31–36  ·  view source on GitHub ↗

Local implementation of `itertools.count()` to allow v2.6 compatibility.

(start: int = 0, step: int = 1)

Source from the content-addressed store, hash-verified

29
30
31def count(start: int = 0, step: int = 1):
32 """Local implementation of `itertools.count()` to allow v2.6 compatibility."""
33 n = start
34 while True:
35 yield n
36 n += step
37
38
39def test_file(filename: str) -> str:

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…