diff options
author | Brad King <brad.king@kitware.com> | 2023-11-16 15:51:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-11-17 14:58:21 (GMT) |
commit | 40552722c9865612bfef73da1053fe8a24193a66 (patch) | |
tree | 998a7bd5418e4cacacf867f3a8100a7392f65f6e /Utilities | |
parent | bc435bc2888d0a3ebb2adf9ec13786cb9bd72598 (diff) | |
download | CMake-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.in | 2 |
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: |