Serhiy Storchaka added the comment:
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')))"
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue16638>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com