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.

Author BreamoreBoy
Recipients BreamoreBoy, Jessica.McKellar, docs@python, elias, jesstess, terry.reedy
Date 2014-05-17.22:52:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400367133.57.0.0831863041007.issue19980@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-05-17 22:52:13BreamoreBoysetrecipients: + BreamoreBoy, terry.reedy, jesstess, docs@python, elias, Jessica.McKellar
2014-05-17 22:52:13BreamoreBoysetmessageid: <1400367133.57.0.0831863041007.issue19980@psf.upfronthosting.co.za>
2014-05-17 22:52:13BreamoreBoylinkissue19980 messages
2014-05-17 22:52:12BreamoreBoycreate