def __new__(cls, data, rawsource=None):
            if isinstance(data, bytes):
                raise TypeError('expecting str data, not bytes')
            return reprunicode.__new__(cls, data)
Prevent the rawsource argument from propagating to str.
dataset/ETHPy150Open adieu/allbuttonspressed/docutils/nodes.py/Text.__new__