[Tutor] puzzled by ident after list statement in IDLE
Brian van den Broek
bvande at po-box.mcgill.ca
Sat Apr 3 11:51:20 EST 2004
Michael Janssen said unto the world upon 03/04/2004 07:22:
> On Sat, 3 Apr 2004, Brian van den Broek wrote:
>
>
>>But what I get is
>> >>> list(queens(5, (0, 2))
>> |
>
>
> this is a case of "refusing correct indentation on error": you've
> missed a final closing bracket. That's all...
>
> The editor should give you some feedback about closing brackets so
> you are warned when this feedback doesn't come. Further the
> incorrect indentation should behave not like an indetation at all:
> typeing backspace refuses to do a 4 spaces jump back. I don't now
> what IDLE does but this is what emacs tries to help me.
>
> Michael
Michael,
oh dear. Yes, in the light of day that is pretty clear. :-[
Lesson learned -- don't post puzzlements at 4am!
Thanks for setting me straight.
Best,
Brian vdB
More information about the Tutor
mailing list