what *is* a class?

Uwe Mayer merkosh at hadiko.de
Mon Jun 17 01:52:52 CEST 2002


i've got an object 'Group'. i instanciate it by calling, f.e.
g = Group()

what actually does Group() return and is there any way to get hold of 
that again?
i want to write a method which returns the instance, so that f.e. the 
following is possible:

g = Group()
g2 = g.foobar()
g2 is g

so that g2 is identical to g.
any idea?

thanks in advance

More information about the Python-list mailing list