homepage

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 terry.reedy
Recipients Roy.Fox, ned.deily, python-dev, roger.serwy, terry.reedy
Date 2012年06月05日.09:55:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338890144.15.0.427886213555.issue12510@psf.upfronthosting.co.za>
In-reply-to
Content
Upon further thought, not a problem. Stephen considered the case:
class myint(int):
 # inherit __init__
 def added_func(self): "some new function of an int"
In this case, fob = myint.__init__ would not be FunctionType and inspect would not be called. Tool tip would be myint.__doc__ and writer could follow style of builtins. Still an interesting test case to add.
A different question is whether the default for callables (as opposed to non-callables) should be nothing or something like 'args unknown' or 'see docs'.
History
Date User Action Args
2012年06月05日 09:55:44terry.reedysetrecipients: + terry.reedy, ned.deily, roger.serwy, python-dev, Roy.Fox
2012年06月05日 09:55:44terry.reedysetmessageid: <1338890144.15.0.427886213555.issue12510@psf.upfronthosting.co.za>
2012年06月05日 09:55:43terry.reedylinkissue12510 messages
2012年06月05日 09:55:43terry.reedycreate

AltStyle によって変換されたページ (->オリジナル) /