File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 2020# Python specific content from Doc/Tools/extensions/pyspecific.py
2121from pyspecific import SOURCE_URI
2222
23-
2423# General configuration
2524# ---------------------
2625
Original file line number Diff line number Diff line change 11import re
2+
23from docutils import nodes
34from docutils .parsers .rst import directives
4-
55from sphinx import addnodes
66from sphinx .util .docutils import SphinxDirective
77from sphinx .util .nodes import make_id
@@ -174,7 +174,7 @@ def run(self):
174174 align_column = max (line .index (':' ) for line in lines [1 :]) + 1
175175 content = []
176176 for line in lines [1 :]:
177- rule_name , colon , text = line .partition (':' )
177+ rule_name , _colon , text = line .partition (':' )
178178 rule_name = rule_name .strip ()
179179 if rule_name :
180180 name_part = rule_name + ':'
You can’t perform that action at this time.
0 commit comments