Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:

In both cases, if-clause and the else-clause are at the beginning of the line 
(from Python's point of view).

The difference is that the Python command line interpreter adds a "..." to the 
beginning of secondary lines.  That makes the else-clause visually line-up with 
the if-clause which is prefixed with ">>>". 

With IDLE, the prefix for a secondary line is "", so the else-clause is still 
at the beginning of the line eventhough it doesn't visually line-up with the 
if-clause.

----------
nosy: +rhettinger

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11422>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to