Python scoping

Martin Christensen knightsofspamalot-factotum at mail1.stofanet.dk
Fri Oct 27 07:45:25 EDT 2000


>>>>> "William" == William Park <parkw at better.net> writes:
William> Good programmers always use indentation, with or without
William> braces.  But, I personally wouldn't mind "end" statements
William> (ie. endif, endfor, endwhile, etc.) for situations where
William> blocks are longer than one screen.

You're free to put an # End this_or_that in such places. I almost
always do with class and function definitions and large
blocks. However, that's a help to you, and enforcing it seems to have
no purpose.

Martin

-- 
GPG public key: http://home1.stofanet.dk/factotum/gpgkey.txt



More information about the Python-list mailing list