allowing braces around suites
Kjetil Torgrim Homme
kjetilho at yksi.ifi.uio.no
Fri Aug 27 10:35:23 EDT 2004
[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?
db.update_name(person)
if is_student(person):
db.update_courses(person)
db.commit()
only students have their names updated. I wonder why.
real world examples have taken hours or days.
--
Kjetil T.
More information about the Python-list
mailing list