Message178846
| Author |
serhiy.storchaka |
| Recipients |
georg.brandl, serhiy.storchaka |
| Date |
2013年01月02日.20:08:25 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1357157305.88.0.0239428638229.issue16842@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Just a quote of Georg Brandl's msg178519:
> A simple, minimal-invasive solution would be to allow a signature for documentation purposes as the first line of the docstrings.
>
> pydoc could recognize this (if docstring.startswith(func.__name__ + '(') or something like that), and display the given signature instead of the introspected one.
I see only one obstacle. Some functions (like dict.update()) needs several signatures. How detect and format them? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年01月02日 20:08:25 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, georg.brandl |
| 2013年01月02日 20:08:25 | serhiy.storchaka | set | messageid: <1357157305.88.0.0239428638229.issue16842@psf.upfronthosting.co.za> |
| 2013年01月02日 20:08:25 | serhiy.storchaka | link | issue16842 messages |
| 2013年01月02日 20:08:25 | serhiy.storchaka | create |
|