python-3.12

Python3.12 SyntaxWarning on triplequoted string `d` must be `\d`

Python3.12 SyntaxWarning on triplequoted string `d` must be `\d` Question: After updating to Python 3.12, I get warnings about invalid escape sequence on some triple-quotes comments. Is this a new restriction? I have the habit of documenting code using triple-quoted string, but this has never been a problem prior to Python 3.12. python3 –version Python …

Total answers: 1