def __getitem__(self,i): # if (i>=0) and (i<len(self)): # return self.item(i) # raise IndexError if i<0: i+=_cODP.ODPNodeList_getLength(self.this) if (i>=0) and (i<_cODP.ODPNodeList_getLength(self.this)): return _ntype(_cODP.ODPNodeList_item(self.this,i)) raise IndexError
def item(self,i): return _ntype(_cODP.ODPNodeList_item(self.this,i))
def item(self, *args): return _cODP.ODPNodeList_item(self, *args)