Message177131
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')))" |
|
| 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: <[email protected]> |
| 2012-12-07 20:53:40 | serhiy.storchaka | link | issue16638 messages |
| 2012-12-07 20:53:40 | serhiy.storchaka | create | |
|