This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients loewis, rhettinger, victorywin
Date 2011-03-07.04:43:38
SpamBayes Score 1.9539351e-07
Marked as misclassified No
Message-id <1299473019.86.0.270524700612.issue11422@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-03-07 04:43:39rhettingersetrecipients: + rhettinger, loewis, victorywin
2011-03-07 04:43:39rhettingersetmessageid: <1299473019.86.0.270524700612.issue11422@psf.upfronthosting.co.za>
2011-03-07 04:43:39rhettingerlinkissue11422 messages
2011-03-07 04:43:38rhettingercreate