New inited instance of class?
Douglas Alan
nessus at mit.edu
Sat Dec 6 22:49:02 EST 2003
More information about the Python-list mailing list
Sat Dec 6 22:49:02 EST 2003
- Previous message (by thread): New inited instance of class?
- Next message (by thread): New inited instance of class?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Samuel Kleiner <sam at samuel-kleiners-computer.local> writes: > 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. Doesn't self.__class__(*args, **keywords) work? |>oug
- Previous message (by thread): New inited instance of class?
- Next message (by thread): New inited instance of class?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list