allowing braces around suites
rschroev_nospam_ml at fastmail.fm
Sat Aug 28 09:47:13 CEST 2004
Kjetil Torgrim Homme wrote:
> [Isaac To]:
>> When Python is concerned and Emacs is not, Python only sees there
>> is indentation, and only indentation, to define the suites. And
>> it is also what people will perceive when they stare at the code.
>> There is nothing to be inconsistent with it.
> how long do you have to stare before spotting the bug?
Just the time needed to read the code.
> if is_student(person):
> only students have their names updated. I wonder why.
No offense, but I wonder why you have a problem with this code. IMO the
indentation makes perfectly clear what's happening.
"Codito ergo sum"
More information about the Python-list