I did it and it errors me with invalid \x escape. Putting 'r' in front of the doc string eliminates it.
It's normal behaviour. It happens during the parsing of the code before executing it. All after the \ should be a valid escape sequence which can be evaluated.
Or escape the \. r"""string""" as a doc string is bugs me some kind.
But as you said, not any indication where is the error.
It's normal behaviour. It happens during the parsing of the code before executing it. All after the \ should be a valid escape sequence which can be evaluated.
Or escape the \. r"""string""" as a doc string is bugs me some kind.
But as you said, not any indication where is the error.