QTextBlockUserData

class PyQt5.QtGui.QTextBlockUserData

C++ documentation