S
Steve Menard
I have a need to create class instance without invokking the class' __init__
method.
Were I using old-style classes, I'd use new.instance() function. However, I
am using new-style classes and new.instance() complain "TypeError:
instance() argument 1 must be classobj, not type" ...
So my question is, how to replicate new.instance() functionality with new
classes?
Steve Menard
Author and Maintainer of http://jpype.sourceforge.net
method.
Were I using old-style classes, I'd use new.instance() function. However, I
am using new-style classes and new.instance() complain "TypeError:
instance() argument 1 must be classobj, not type" ...
So my question is, how to replicate new.instance() functionality with new
classes?
Steve Menard
Author and Maintainer of http://jpype.sourceforge.net