Documentation/sphinx: fix Python string escapes
authorBenjamin Gray <bgray@linux.ibm.com>
Tue, 12 Sep 2023 06:07:56 +0000 (16:07 +1000)
committerJonathan Corbet <corbet@lwn.net>
Tue, 12 Sep 2023 20:27:45 +0000 (14:27 -0600)
commit86a0adc029d338f0da8989e7bb453c1114d51960
treea876e433a1abfa55c1e6a8dab24a41d835b7843d
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
Documentation/sphinx: fix Python string escapes

Python 3.6 introduced a DeprecationWarning for invalid escape sequences.
This is upgraded to a SyntaxWarning in Python 3.12, and will eventually
be a syntax error.

Fix these now to get ahead of it before it's an error.

Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Message-ID: <20230912060801.95533-3-bgray@linux.ibm.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/sphinx/cdomain.py
Documentation/sphinx/kernel_abi.py
Documentation/sphinx/kernel_feat.py
Documentation/sphinx/kerneldoc.py
Documentation/sphinx/maintainers_include.py