def _hasItemType(self, LIST): if self.known_maxlength: _, ARRAY = LIST._lookup_field('items') return ootype.hasItemType(ARRAY) else: return ootype.hasItemType(LIST)
def _hasItemType(self, LIST): return ootype.hasItemType(LIST)