QTextFormatΒΆ

class PyQt5.QtGui.QTextFormat

The C++ documentation can be found here.