[Python-ideas] Syntax for dedented strings

Nick Coghlan ncoghlan at gmail.com
Wed Aug 17 05:33:38 CEST 2011

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'

Eliminates the potentially annoying behaviour where help() takes over
the entire terminal window and doesn't appear in the scrollback


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-ideas mailing list