Another salvo in the indentation war? I hope not.
Philip 'Yes, that's my address' Newton
nospam.newton at gmx.li
Sat May 27 07:53:57 CEST 2000
On Fri, 26 May 2000 06:26:23 -0700 (PDT), Darrell Gallion
<dgallion1 at yahoo.com> wrote:
> rzantow at my-deja.com wrote:
> : When a newsreader, browser, or mail program trashes
> : the indentation from examples of Python source, it is a
> : real pain in the hindlimbs to recover the original
> : program logic.
> Don't use tabs in the source, then all is well.
Try feeding this to python, then:
if 1 == 1:
print "This won't work"
You'll get a SyntaxError if somebody removes all leading indentation.
Philip Newton <nospam.newton at gmx.li>
If you're not part of the solution, you're part of the precipitate.
More information about the Python-list