accessing elements of a tuple

Steven D'Aprano steve at pearwood.info
Sun Feb 1 09:23:58 CET 2009


D'Arcy J.M. Cain wrote:

> First of all, list is a reserved word.  Don't use it as a variable name.

Unless you mean to. Shadowing built-ins is only a bad thing when you do it
by accident.


-- 
Steven




More information about the Python-list mailing list