Fix sounds on Python 3.12
This commit is contained in:
parent
1e4e1f8e75
commit
940a05a2d1
|
@ -66,7 +66,7 @@ def validate(cond, msg, forstr=""):
|
||||||
|
|
||||||
|
|
||||||
def strip_comments(string):
|
def strip_comments(string):
|
||||||
string = re.sub(re.compile("/\*.*?\*/", re.DOTALL), "", string)
|
string = re.sub(re.compile(r"/\*.*?\*/", re.DOTALL), "", string)
|
||||||
return re.sub(re.compile("//.*?\n"), "", string)
|
return re.sub(re.compile("//.*?\n"), "", string)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue