I'm customizing .NET ArrayList class like this:
from System.Collections import ArrayList
class MyArrayList(ArrayList):
def __init__(self):
ArrayList.__init__(self, 256)
test = MyArrayList()
test.Capacity // return 0
It seems like default constructor is always called. Did I incorrectly call the base class' constructor?
Rux
from System.Collections import ArrayList
class MyArrayList(ArrayList):
def __init__(self):
ArrayList.__init__(self, 256)
test = MyArrayList()
test.Capacity // return 0
It seems like default constructor is always called. Did I incorrectly call the base class' constructor?
Rux
_______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
