Documentation/sphinx: fix Python string escapes
authorBenjamin Gray <bgray@linux.ibm.com>
Tue, 12 Sep 2023 06:07:56 +0000 (16:07 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Feb 2024 20:14:13 +0000 (20:14 +0000)
commit55ae38ffa0f4af587b502ebc691b63e5005d5f20
tree852e10f052e958b1d889e8cf340134ea992795c9
parent51f354b815c44f1e423edb3f089ceece9bd26976
Documentation/sphinx: fix Python string escapes

commit 86a0adc029d338f0da8989e7bb453c1114d51960 upstream.

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>
Cc: Justin Forbes <jforbes@fedoraproject.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/sphinx/cdomain.py
Documentation/sphinx/kernel_abi.py
Documentation/sphinx/kernel_feat.py
Documentation/sphinx/kerneldoc.py
Documentation/sphinx/maintainers_include.py