Roundup Robot added the comment:
New changeset a381721299a3 by Antoine Pitrou in branch '3.3':
Issue #18589: fix hyperlinking of type slots (tp_*)
http://hg.python.org/cpython/rev/a381721299a3
New changeset 36ff479e429c by Antoine Pitrou in branch 'default':
Issue #18589: fix hyperlinking of
Roundup Robot added the comment:
New changeset bb546f6d8ab4 by Antoine Pitrou in branch '2.7':
Issue #18589: fix hyperlinking of type slots (tp_*)
http://hg.python.org/cpython/rev/bb546f6d8ab4
--
___
Python tracker rep...@bugs.python.org
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18589
___
New submission from Antoine Pitrou:
It doesn't seem possible to make reference links to e.g. the definition for
tp_clear. Both :attr:`tp_clear` and :attr:`PyTypeObject.tp_clear` do not make
any link. The extending guide is littered with such broken references.
--
assignee: docs@python
Antoine Pitrou added the comment:
Ahah, it seems the correct markup is :c:member:`~PyTypeObject.tp_clear`
Now all the existing references have to be fixed...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18589
Antoine Pitrou added the comment:
The following command does the trick:
sed -i s/:attr:\`tp_/:c:member:\`~PyTypeObject.tp_/g `find -name *.rst`
It does not fix word-wrapping, though. Is it ok to commit?
--
___
Python tracker rep...@bugs.python.org