Skip to content

docs: Correct escape sequence for Python 3.12 or later

Danh Doan requested to merge sgn/extra-cmake-modules:python-3.12 into master

From Python 3.12, Python starting to deprecating the practice of treating invalid escape sequence as literal string.

SyntaxWarning: invalid escape sequence '.'

Those escape sequence is meant for the regex engine.

Let's tell Python to read them as raw string instead.

Merge request reports

Loading