-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Hello, I noticed that a SyntaxWarning is printed with python >= 3.12:
To reproduce:
python src/admonitions/admonition.py
admonitions/src/admonitions/admonition.py:29: SyntaxWarning: invalid escape sequence '\g'
return re.sub(starts_with_angle, " \g<1>", gh_body)
caused by:
admonitions/src/admonitions/admonition.py
Line 29 in 4b29868
return re.sub(starts_with_angle, " \g<1>", gh_body) |
This is showed also when compiling the .pyc, although it's not showed anymore when importing the pyc previously generated.
Metadata
Metadata
Assignees
Labels
No labels