Message177131
| Author |
serhiy.storchaka |
| Recipients |
chris.jerdonek, roger.serwy, serhiy.storchaka, terry.reedy |
| Date |
2012年12月07日.20:53:40 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1354913620.62.0.758226159883.issue16638@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I think we should add empty lines after signatures in all docstrings where it needed (i.e. for super()).
Here is a command which shows calltips for all builtins:
./python -c "from idlelib.CallTips import get_argspec, get_entity; import builtins
for name in sorted(builtins.__dict__):
print('%s:\t%s' % (name, get_argspec(get_entity(name)).replace('\n', '\n\t')))"
And for dict methods:
./python -c "from idlelib.CallTips import get_argspec, get_entity; import builtins;^Mfor name in sorted(vars(dict)):^M print('%s:\t%s' % (name, get_argspec(get_entity('{}.'+name)).replace('\n', '\n\t')))" |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年12月07日 20:53:40 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, roger.serwy, chris.jerdonek |
| 2012年12月07日 20:53:40 | serhiy.storchaka | set | messageid: <1354913620.62.0.758226159883.issue16638@psf.upfronthosting.co.za> |
| 2012年12月07日 20:53:40 | serhiy.storchaka | link | issue16638 messages |
| 2012年12月07日 20:53:40 | serhiy.storchaka | create |
|