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.
Created on 2013年01月02日 20:08 by serhiy.storchaka, last changed 2022年04月11日 14:57 by admin.
| Messages (4) | |||
|---|---|---|---|
| msg178846 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年01月02日 20:08 | |
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? |
|||
| msg178880 - (view) | Author: Meador Inge (meador.inge) * (Python committer) | Date: 2013年01月03日 01:35 | |
Serhiy, did you mean to mark this as "patch review"? I don't see a patch. |
|||
| msg178930 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年01月03日 10:08 | |
Sorry, I mixed up the issues. For this issue I have not a patch yet. I wait for some suggestions and decisions first. See also related issue16638. |
|||
| msg396727 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2021年06月29日 13:47 | |
This proposal pre-dates signature objects; I wonder if they can be used to handle the use cases here. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:40 | admin | set | github: 61046 |
| 2021年06月29日 13:47:58 | eric.araujo | set | messages:
+ msg396727 versions: - Python 3.4 |
| 2013年01月08日 12:27:12 | eric.araujo | set | nosy:
+ eric.araujo |
| 2013年01月03日 10:08:59 | serhiy.storchaka | set | messages:
+ msg178930 stage: patch review -> needs patch |
| 2013年01月03日 01:35:51 | meador.inge | set | nosy:
+ meador.inge messages: + msg178880 |
| 2013年01月02日 21:59:39 | serhiy.storchaka | set | stage: needs patch -> patch review |
| 2013年01月02日 20:08:25 | serhiy.storchaka | create | |