Mark Lawrence added the comment:

I propose the following.  help('') returns help on strings in the same way that 
help([]) and help({}) returns help on lists and dicts respectively, further 
help(''.method) returns help on the string method or an attribute error, so 
this appears to me consistent.  help('doh') returns enhanced output along the 
lines Terry suggested in msg206157.  help('module') gives the path to the 
module as well as the help output, if any, as I think this could be useful in 
cases where you're looking for problems and have a stdlib module masked by a 
file of your own.  Thoughts?

If we can come to an agreement I'll try and work up a patch.

Note that I've tried looking at the test code and it didn't make much sense to 
me, pointers welcome.

I've also just signed the contributor's agreement.

----------
nosy: +BreamoreBoy

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19980>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to