[Idle-dev] Re: [Python-Help] python 2.2

Guido van Rossum guido@python.org
Wed, 13 Feb 2002 09:22:54 -0500


> I only thought it would help to keep the indents in line.  For example:
> >>> if x > 5:
> 	y = 6
> else: y = 7
> 
> 'else' does not line up with 'if' because of the '>>>'.

That doesn't bother the parser.  If it bothers you, you can always set
sys.ps1 to ">>>\n".

--Guido van Rossum (home page: http://www.python.org/~guido/)