[issue46586] In documentation contents enum.property erroneously links to built-in property

Éric Araujo report at bugs.python.org
Thu Feb 10 10:48:14 EST 2022


Éric Araujo <merwok at netwok.org> added the comment:

Thinking about it again: The issue is that these tables (for sys.float_info and other named tuples / structseqs) use the const role, which is not meant to identify attributes but to link to them (similar to func, mod, data, etc).  In other words we are fixing an issue that a wrong target is used, but we should not be linking for a target at all, this is the target.  So if we can’t use the equivalent of directives function, module, etc (that define the targets of func, mod, etc), then maybe they should be just ``name``, not :role:`name`.

----------

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


More information about the Python-bugs-list mailing list