summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-11-16 15:51:01 (GMT)
committerBrad King <brad.king@kitware.com>2023-11-17 14:58:21 (GMT)
commit40552722c9865612bfef73da1053fe8a24193a66 (patch)
tree998a7bd5418e4cacacf867f3a8100a7392f65f6e /Utilities
parentbc435bc2888d0a3ebb2adf9ec13786cb9bd72598 (diff)
downloadCMake-40552722c9865612bfef73da1053fe8a24193a66.zip
CMake-40552722c9865612bfef73da1053fe8a24193a66.tar.gz
CMake-40552722c9865612bfef73da1053fe8a24193a66.tar.bz2
Utilities/Sphinx: Fix python string literal syntax warning
Python 3.12 started warning: conf.py:35: SyntaxWarning: invalid escape sequence '\.' Use a raw string literal instead.
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/Sphinx/conf.py.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/Sphinx/conf.py.in b/Utilities/Sphinx/conf.py.in
index b8d8474..f8651e1 100644
--- a/Utilities/Sphinx/conf.py.in
+++ b/Utilities/Sphinx/conf.py.in
@@ -32,7 +32,7 @@ nitpicky = True
smartquotes = False
cmake_manuals = sorted(glob.glob(r'@conf_docs@/manual/*.rst'))
-cmake_manual_description = re.compile('^\.\. cmake-manual-description:(.*)$')
+cmake_manual_description = re.compile(r'^\.\. cmake-manual-description:(.*)$')
man_pages = []
for fpath in cmake_manuals:
try: