SelectionΒΆ

class PyQt5.QtGui.QAbstractTextDocumentLayout.Selection

The C++ documentation can be found here.