[issue28710] Sphinx incompatible markup in configparser.ConfigParser.
Patrick Lehmann
report at bugs.python.org
Fri Nov 18 22:30:48 EST 2016
Patrick Lehmann added the comment:
Hello,
I used this regexp on all files:
--------------------------------------
match pattern: `([A-Za-z0-9_]+)'
replace pattern ``\1``
--------------------------------------
I assumed that only identifiers where quoted in such way. I think my editor found around 139 matches in the whole CPython repository.
I found some of these markup in non docstring strings, which I reverted as far as I found them by manually reviewing all changed files.
For a colored diff, see my Git branch: https://github.com/Paebbels/cpython/commit/6d3f348f71b5b0ae9fbfcb8fdbba72dc5fac428a?ts=2
There is also a PR-, commit-, and line-based comment feature box GitHub.
How you solve it is up to you, but I would like to get rid of hundreds of warnings in my Sphinx runs, when modules are inherting code (and docstrings) from Python.
Kind regards
Patrick
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28710>
_______________________________________
More information about the Python-bugs-list
mailing list