@ivelin.peychev wrote:
Hi All,
I have a hypothetical/theoretical question:
Could anyone provide a script snippet showing how a .net abstract class is used in IronPython?
How do I use (override) its properties, methods, attributes?
Basically explaining this topic if possible in plain text.Much obliged!
UPDATE:
Alsogetset_descriptors.
I always getTypeErrors when I try to useAbstract Classandgetset_descriptors.TypeError('Cannot create instances of
SomeClassbecause it is abstract)
TypeError(‘getset_descriptor is not callable’,))
when I trySomeClass.__new__(OtherClass)I get TypeError(OtherClassdoes not define any public constructors)
etc.
Posts: 2
Participants: 2