This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, docs@python, mark.dickinson
Date 2010-06-12.15:26:31
SpamBayes Score 0.4552194
Marked as misclassified No
Message-id <1276356394.26.0.0946047114478.issue8983@psf.upfronthosting.co.za>
In-reply-to
Content
Inspired by issue issue8973, I did


$ grep -in "see.*\.__doc__" Modules/*.c

Surprisingly, there were not as many results as I feared.

As I explained in the referenced issue,  "See name.__doc__", while technically correct, is not user friendly.  If you copy name.__doc__ to >>> prompt, you get an ugly repr of a multiline string.  I suggest s/name.__doc__/help(struct)/.

Here are the grep results

Modules/_threadmodule.c:904:Create a new lock object.  See LockType.__doc__ for information about locks.");
Modules/pwdmodule.c:103:See pwd.__doc__ for more on password database entries.");
Modules/pwdmodule.c:124:See pwd.__doc__ for more on password database entries.");
Modules/pwdmodule.c:155:See pwd.__doc__ for more on password database entries.");
Modules/spwdmodule.c:111:See spwd.__doc__ for more on shadow password database entries.");
Modules/spwdmodule.c:143:See spwd.__doc__ for more on shadow password database entries.");
History
Date User Action Args
2010-06-12 15:26:34belopolskysetrecipients: + belopolsky, mark.dickinson, docs@python
2010-06-12 15:26:34belopolskysetmessageid: <1276356394.26.0.0946047114478.issue8983@psf.upfronthosting.co.za>
2010-06-12 15:26:32belopolskylinkissue8983 messages
2010-06-12 15:26:32belopolskycreate