Docs: fix python warning about invalid escape sequence

This commit is contained in:
neofelis2X
2025-01-22 20:40:48 +01:00
parent 528f64e939
commit 6038fc2709

View File

@@ -339,7 +339,7 @@ def removeUnreferenced(input, class_summary, enum_base, unreferenced_classes, te
def addSpacesToLinks(text):
regex = re.findall('\w:ref:`(.*?)`', text)
regex = re.findall(r'\w:ref:`(.*?)`', text)
for reg in regex:
text = text.replace(':ref:`%s`'%reg, ' :ref:`%s`'%reg)