module not callable - why not?
Hung Jung Lu
hungjunglu at yahoo.com
Sun Apr 18 12:37:43 EDT 2004
I forgot to mention one more inconsistency/redundancy:
(h) In module-level functions, you need to use the 'global' statement
to access module-level attributes. In class (instance) methods, you
use the 'self' parameter to access instance attributes. (In class'
classmethods, you use 'cls'.) (Notice that there is a big difference
between saying "class method" and "classmethod".)
regards,
Hung Jung
More information about the Python-list
mailing list