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 georg.brandl
Recipients Arfrever, carsten.klein@axn-software.de, georg.brandl, larry, mark.dickinson, r.david.murray, serhiy.storchaka, terry.reedy
Date 2012-12-29.18:22:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356805377.82.0.709570669629.issue16801@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-12-29 18:22:57georg.brandlsetrecipients: + georg.brandl, terry.reedy, mark.dickinson, larry, Arfrever, r.david.murray, carsten.klein@axn-software.de, serhiy.storchaka
2012-12-29 18:22:57georg.brandlsetmessageid: <1356805377.82.0.709570669629.issue16801@psf.upfronthosting.co.za>
2012-12-29 18:22:57georg.brandllinkissue16801 messages
2012-12-29 18:22:57georg.brandlcreate