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

Function count

tests/unitutil/__init__.py:6–13  ·  view source on GitHub ↗

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

(start=0, step=1)

Source from the content-addressed store, hash-verified

4
5
6def 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

Callers 1

make_category_chart_dataFunction · 0.50

Calls

no outgoing calls

Tested by 1

make_category_chart_dataFunction · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…