Help! Indenting craziness!

Adam Clark bjrubble at shell16.ba.best.com
Fri Jul 7 19:34:55 EDT 2000


Hi all,

Does anybody have a technique for avoiding syntax errors due to blank,
unindented lines?  I'm getting these on a regular basis, and I haven't
figured out any reliable way to fix them.  Sometimes if I take every line
in the vicinity, backspace it to the end of the previous line, and 
reposition it, the errors go away.  But often they don't, and I end up
just deleting chunks and rewriting them until Python stops complaining.

This is with Emacs and python-mode.

Thanks
Adam



More information about the Python-list mailing list