Skip to content

Commit 6e24f0f

Browse files
authored
Merge pull request numpy#27302 from charris/fix-circleci-bug
BUG: Fix bug in ``doc/neps/tools/build_index.py``
2 parents 50185a9 + b43d97b commit 6e24f0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/neps/tools/build_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def nep_metadata():
3838

3939
# The title should be the first line after a line containing only
4040
# * or = signs.
41-
for line in lines[:-1]:
41+
for i, line in enumerate(lines[:-1]):
4242
chars = set(line.rstrip())
4343
if len(chars) == 1 and ("=" in chars or "*" in chars):
4444
break

0 commit comments

Comments
 (0)