Is classless worth consideration
Michael
mogmios at mlug.missouri.edu
Wed Apr 28 23:44:08 EDT 2004
>It's just occured to me that backing into that particular
>issue might work: use class methods and never bother
>with instantiating the classes at all. I'm not sure what
>we'd lose. (possibly descriptors?)
>
You can already use:
class test:
x = 1
t = test
print t.x
Is there any way to to call a class method without making an instance of
that class? To me that would be useful because you could mimic modules
without having to create a sepperate file. Or is there already a way to
do that?
More information about the Python-list
mailing list