QItemSelectionRange

class PyQt5.QtCore.QItemSelectionRange

C++ documentation