New submission from Patrick Lehmann:

Why does e.g. configparser.ConfigParser contain doc strings with Sphinx 
incompatible markup?

The markup starts with back-tick, but ends with a single quote.

Example:
https://github.com/python/cpython/blob/master/Lib/configparser.py?ts=2#L26

Sphinx writes these messages:
D:\git\PoC\py\lib\ExtendedConfigParser\__init__.py:docstring of 
lib.ExtendedConfigParser.ExtendedConfigParser.read_file:3: WARNING: Inline 
interpreted text or phrase reference start-str
ing without end-string.

Note: ExtendedConfigParser is class derived from configparser.ConfigParser. 
Inherited methods get documented too.

------------------------
Btw. I have some improvements for this class, how can I contribute them? Who is 
the maintainer for this class? Please contact me: patrick.lehm...@tu-dresden.de

The improved version is available at GitHub: 
https://github.com/Paebbels/ExtendedConfigParser?ts=2

----------
assignee: docs@python
components: Documentation
messages: 280907
nosy: Patrick Lehmann, docs@python
priority: normal
severity: normal
status: open
title: Sphinx incompatible markup in configparser.ConfigParser.
versions: Python 3.4, Python 3.5

_______________________________________
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