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 <rep...@bugs.python.org>
<http://bugs.python.org/issue28710>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to