Style question...

Anthony Roberts anthonyr-at-hotmail-dot-com at nospam.com
Wed Aug 27 18:45:08 EDT 2003


If I end indentation levels with "pass" statements, will I piss off people
that have to read my code? eg:

for i in xrange(0,5):
    if i:
        print i
        pass
    print i * -1
    pass

I ask for two reasons... a) it helps emacs figure it out, and b) I'm more
comfortable ending compound statements with a token.






More information about the Python-list mailing list