[PYTHON] str.replace does not replace escape characters

Will replace if clearly stated

>>> b'nnnnn\n'.replace(b'n', b'^')
b'^^^^^\n'
>>> b'nnnnn\n'.replace(b'\n', b'^')
b'nnnnn^'
>>>

Recommended Posts

str.replace does not replace escape characters
distutils log does not appear