Skip to content

Commit 5727519

Browse files
authored
Merge pull request #12311 from jsquyres/pr/update-sphinx-conf-py
docs: update for Python 3.12
2 parents 9d69edb + 208dabe commit 5727519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def _doit(topdir):
242242
for root, dirs, files in os.walk(topdir):
243243
for filename in files:
244244
# Parse filenames of the format a "foo.X.rst"
245-
parts = re.search("^([^/]+?)\.([0-9]+)\.rst$", filename)
245+
parts = re.search(r"^([^/]+?)\.([0-9]+)\.rst$", filename)
246246

247247
# Skip files that do not match that format (e.g.,
248248
# "index.rst")

0 commit comments

Comments
 (0)