[issue16801] Preserve original representation for integers / floats in docstrings

Mark Dickinson report at bugs.python.org
Tue Jun 29 12:19:25 EDT 2021


Mark Dickinson <dickinsm at gmail.com> added the comment:

I suspect the difference is due to a change in the way that Sphinx handles the py:method directive: the rst source for `pathlib.Path.touch` hasn't changed between 3.9 and 3.10, but the 3.9 docs are built with Sphinx 2.4.4, while the 3.10 docs are built with Sphinx 3.2.1.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue16801>
_______________________________________


More information about the Python-bugs-list mailing list