[Tutor] __setitem__

Christopher Spears cspears2002 at yahoo.com
Fri Feb 27 11:30:37 EST 2004


Thanks!  I do have a question though regarding this
statement:

> A class is
> what a programmer uses to create objects.

This is confusing to me because I always thought of
classes as another type of data object like strings or
dictionaries except a class is an object that can hold
variables, functions, etc. like a file (which is also
seen as an data object by Python, right?).

-Chris



More information about the Tutor mailing list