QTextFragmentΒΆ

class PyQt5.QtGui.QTextFragment

The C++ documentation can be found here.