On Mon, Nov 17, 2003 at 02:29:52PM -0600, Chad Walstrom wrote: > On Mon, Nov 17, 2003 at 02:19:02PM -0500, H. S. Teoh wrote: > > Also, as an off-topic note, blank lines that contain tabs or spaces > > are Pure Evil(tm), especially in code. One of these days I should > > write a sed script to eliminate all incarnations of this Pure Evil(tm) > > from /usr/src. > > Python did away with that requirement for scope in 2.x. If you want to > use blank lines for code logic separation in python < 2.0, you must nest > the line as far as the current block. For that reason, I don't use > blank lines within class or method definitions when writing for Python > 1.5.x. [snip]
Hmm, I did not know this before. *chalks up one more reason to avoid Python like the plague...* T -- Leather is waterproof. Ever see a cow with an umbrella?