New inited instance of class?
sam at samuel-kleiners-computer.local
Sun Dec 7 04:37:58 CET 2003
Is there a builtin way of making making another instance of your own
class? I really expected type(self)(*args, **keywords) to work this way.
Currently i'm doing this:
from new import instance
"You have to impress him! Be independent and plucky, but often do
things that are moronic and out of character!"
--50s Diana Dane to 90s Diana Dane
More information about the Python-list