[Python-ideas] Syntax for dedented strings

Michael Foord fuzzyman at gmail.com
Wed Aug 17 14:58:39 CEST 2011


On 17 August 2011 04:33, Nick Coghlan <ncoghlan at gmail.com> wrote:

> On Wed, Aug 17, 2011 at 9:36 AM, Steven D'Aprano <steve at pearwood.info>
> wrote:
> > Unless you regularly inspect instance.__doc__ by hand (not via help), I'm
> > not sure what you hope to accomplish here.
>
> One trick I did discover thanks to this thread: 'pydoc.pager =
> pydoc.plainpager'
>
>
Thanks Nick, that does make help substantially less annoying. I'll add it to
my python startup.

All the best,

Michael



> Eliminates the potentially annoying behaviour where help() takes over
> the entire terminal window and doesn't appear in the scrollback
> history.
>
> Cheers,
> Nick.
>
> --
> Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
>



-- 

http://www.voidspace.org.uk/

May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing http://www.sqlite.org/different.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20110817/4d5ac150/attachment.html>


More information about the Python-ideas mailing list