The problem is that Python gave an erroneous error message. The error message that might be expected in this case is as follows:
AttributeError: 'function' object has no attribute 'toAscii'
But instead, Python gave an erroneous error message:
AttributeError: 'Render' object has no attribute 'html'
That is, the AttributeErrorone generated inside the property function was presented as if it were AttributeErrorfor the property itself.
, @property QObject. PyQt. , PyQt , (, IMHO). . . ( , QObject object Python, .)