whitespace cleanup
Chris Angelico
rosuav at gmail.com
Tue Dec 6 07:06:55 EST 2011
On Tue, Dec 6, 2011 at 10:59 PM, Andrea Crotti
<andrea.crotti.0 at gmail.com> wrote:
> Well it's not so simple, I clearly don't want to strip out whitespace in the
> beginning of the line,
> or my nice code will break miserably ;)
The question is: What is "wrong" whitespace? Whatever you declare to
be wrong, you can probably come up with a regexp or other spec that
will catch it (or conversely, declare some pattern to be "right" and
look for anything else).
ChrisA
More information about the Python-list
mailing list