Author martin.panter
Recipients docs@python, july, martin.panter
Date 2015-05-29.04:12:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432872732.65.0.521218277241.issue24314@psf.upfronthosting.co.za>
In-reply-to
Content
I think the proper way to suppress the link is :attr:`!__name__`.

However I am posting a patch which takes a different approach. I tweaked some of the entries under <https://docs.python.org/dev/library/stdtypes.html#special-attributes> that also apply to functions, etc. I invented the pseudo class name “definition” for this; better suggestions are welcome!

Then I converted the user-defined functions reference, as well as many other references, to :attr:`~definition.__name__` or similar, for these three attributes:

* definition.__name__
* definition.__qualname__
* object.__dict__

I also moved the index markup so that the index entries for the table of function attributes work.
History
Date User Action Args
2015-05-29 04:12:13martin.pantersetrecipients: + martin.panter, july, docs@python
2015-05-29 04:12:12martin.pantersetmessageid: <1432872732.65.0.521218277241.issue24314@psf.upfronthosting.co.za>
2015-05-29 04:12:12martin.panterlinkissue24314 messages
2015-05-29 04:12:11martin.pantercreate