Method Underscores?

Ville Vainio ville at
Fri Oct 22 12:57:38 CEST 2004

>>>>> "Lonnie" == Lonnie Princehouse <finite.automaton at> writes:

    Lonnie> It's extremely common for Python newbies to accidentally
    Lonnie> overwrite the names of important things.  I see stuff like
    Lonnie> this all the time:

    Lonnie> list = [1,2,3]
    Lonnie> str = "Hello world"

This is not really a mistake. If you don't use "list" builtin in the
same function, it's ok to override it. Not so on module level, of

Ville Vainio

More information about the Python-list mailing list