Message130223
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. |
|
Date |
User |
Action |
Args |
2011-03-07 04:43:39 | rhettinger | set | recipients:
+ rhettinger, loewis, victorywin |
2011-03-07 04:43:39 | rhettinger | set | messageid: <1299473019.86.0.270524700612.issue11422@psf.upfronthosting.co.za> |
2011-03-07 04:43:39 | rhettinger | link | issue11422 messages |
2011-03-07 04:43:38 | rhettinger | create | |
|