"Don't rebind built-in names*" - it confuses readers

Mark Janssen dreamingforward at gmail.com
Mon Jun 10 20:18:50 EDT 2013


>         list = []
> Reading further, one sees that the function works with two lists, a list of
> file names, unfortunately called 'list',

That is very good advice in general:  never choose a variable name
that is a keyword.
-- 
MarkJ
Tacoma, Washington



More information about the Python-list mailing list