jenkins-bot submitted this change.
[sphinx] Bugfix for lines index
Change-Id: Ic5dcf92903218da5d5c2407203443a00c21e62e3
---
M docs/conf.py
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/conf.py b/docs/conf.py
index 4490491..7faaa7f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -409,7 +409,7 @@
length = 0
for index, line in enumerate(lines):
if line == 'Initializer.':
- lines[line] = ''
+ lines[index] = ''
elif line == '¶ms;':
lines[index] = ('This script supports use of '
':py:mod:`pywikibot.pagegenerators` arguments.')
To view, visit change 676808. To unsubscribe, or for help writing mail filters, visit settings.