Message107661
| 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:34 | belopolsky | set | recipients:
+ belopolsky, mark.dickinson, docs@python |
| 2010年06月12日 15:26:34 | belopolsky | set | messageid: <1276356394.26.0.0946047114478.issue8983@psf.upfronthosting.co.za> |
| 2010年06月12日 15:26:32 | belopolsky | link | issue8983 messages |
| 2010年06月12日 15:26:32 | belopolsky | create |
|