RE: feature request #1055954: respect newlines in description
"Laurent Laporte" <[email protected]> Wed, 9 Mar 2005 19:15:52 +0100
| Newsgroups | gmane.comp.python.optik.user |
|---|---|
| Message-ID | <[email protected]> |
> -----Message d'origine----- > De : [email protected] > [mailto:[email protected]]De la part de Andrea > 'fwyzard' Bocci > Envoy=E9 : mercredi 9 mars 2005 19:02 > =C0 : Laurent Laporte > Cc : [email protected] > Objet : Re: [optik] feature request #1055954: respect newlines in > description > > > Laurent Laporte wrote: > > Hello, > > > > ... > > > > Notice: The same problem (of newlines non-interpretation) occurs with > > options' help messages -- see help's parameter of the method add_option(). > > It also uses texwrap() function... > > I could be usefull then to modify (or inherit from) textwrap to that newlines could be treated indipendently of other > whitespaces (much lke tabs can be). > > .Andrea. unfortunately, you can't simply redefine whitespace character by inheriti= ng from TextWrapper class. You must change the whitespace_trans's class memb= er. This change may impact other modules. ------- Laurent. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click