source/riffle/model.py
def item(self, index):
        '''Return item at *index*.'''
        sourceModel = self.sourceModel()

        if not sourceModel:
            return None

        return sourceModel.item(self.mapToSource(index))
def item(self, index):
        '''Return item at *index*.'''
        sourceModel = self.sourceModel()

        if not sourceModel:
            return None

        return sourceModel.item(self.mapToSource(index))
def item ( self , index ) : sourceModel = self . sourceModel ( ) if not sourceModel : return None return sourceModel . item ( self . mapToSource ( index ) )
Return item at *index*.
Return item at * index * .