➜

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.

作者 terry.reedy
收信人 louielu, serhiy.storchaka, terry.reedy
日期 2017-05-04.21:34:42
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1493933682.73.0.311140833728.issue19903@psf.upfronthosting.co.za>
In-reply-to
内容
(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.
历史
日期 用户 动作 参数
2017-05-04 21:34:42terry.reedy修改recipients: + terry.reedy, serhiy.storchaka, louielu
2017-05-04 21:34:42terry.reedy修改messageid: <1493933682.73.0.311140833728.issue19903@psf.upfronthosting.co.za>
2017-05-04 21:34:42terry.reedy链接issue19903 messages
2017-05-04 21:34:42terry.reedy创建