doc/sphinx: fix Python string escapes
authorBenjamin Gray <bgray@linux.ibm.com>
Tue, 5 Mar 2024 18:52:03 +0000 (19:52 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 13 Mar 2024 07:16:16 +0000 (08:16 +0100)
commitb13297cc45baee6ee75292ee6aa39dfd0e048443
treef4db9916dda0910fa8d1f63bb562a82759b766eb
parentf99a1e241ffe9ad979b93a2c7d58edadf083505d
doc/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>
Adapted for U-Boot
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
doc/sphinx/cdomain.py
doc/sphinx/kernel_abi.py
doc/sphinx/kerneldoc.py
doc/sphinx/maintainers_include.py