A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-April/044610.html below:

[Python-Dev] Small additions to optparser

[Python-Dev] Small additions to optparser [Python-Dev] Small additions to optparserDan Gass dmgass at hotmail.com
Fri Apr 30 11:23:05 EDT 2004
>From: Gustavo Niemeyer <niemeyer at conectiva.com>
>To: python-dev at python.org
>CC: gward at python.net
>Subject: [Python-Dev] Small additions to optparser
>Date: Thu, 29 Apr 2004 16:47:35 -0300
>
>Hi Folks,
>
>I have two small customizations I've used in most projects I've
>plugged optparse into. Since they're simple and generic, I'd
>like to integrate them back in optparser. These features are:
>
>- Add a help formatter which uses capitalized headers.
>- Add a "help" keyword in OptionParser, allowing straightforward
>   addition of a custom help messages.
>
>Comments?
>

It would be nice to have a way for the white space to be cleaned up in the 
help string.  This would be useful when using multiline triple quoted 
strings to pass in help text to the option parser and you want to indent the 
help text on each line so the source code reads well.

_________________________________________________________________
Getting married? Find tips, tools and the latest trends at MSN Life Events. 
http://lifeevents.msn.com/category.aspx?cid=married


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4