Author terry.reedy
Recipients louielu, serhiy.storchaka, terry.reedy
Date 2017-05-04.21:34:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493933682.73.0.311140833728.issue19903@psf.upfronthosting.co.za>
In-reply-to
Content
(I presume'ordinal' meant 'ordinary'.)  I don't know where signature finds the info on built-in type objects   Methods like .append have .__text_signature__.  List does not, and list.__call__.__text_signature is the generic '($self, /, *args, **kwargs)'.  That signature finds it somewhere is a reason for the switch. There is no longer a signature in the first lines of the docstring. So currently, 'list(' only displays "Built-in mutable sequence."

Louie, I verified that for python-coded classes, signature itself gets the info from the __init__ method, so we don't need 'fob = ob.__init__' for python classes either.
History
Date User Action Args
2017-05-04 21:34:42terry.reedysetrecipients: + terry.reedy, serhiy.storchaka, louielu
2017-05-04 21:34:42terry.reedysetmessageid: <1493933682.73.0.311140833728.issue19903@psf.upfronthosting.co.za>
2017-05-04 21:34:42terry.reedylinkissue19903 messages
2017-05-04 21:34:42terry.reedycreate