Simplify Code

Michiel Overtoom motoom at xs4all.nl
Tue Jul 15 16:02:11 CEST 2008


Victor wrote...

># del is used to determine if should reset the lower header values to ''
>del = 0

Apart from many other things that spring to mind, I already see an obvious
flaw: 'del' is a keyword, or a 'reserved word' in Python. It is used to
remove variables from the namespace. Tip: Use some other name as a variable,
eg. 'deletethisone'.

Greetings,


-- 
"The ability of the OSS process to collect and harness
the collective IQ of thousands of individuals across
the Internet is simply amazing." - Vinod Vallopillil
http://www.catb.org/~esr/halloween/halloween4.html




More information about the Python-list mailing list