Skip to content

Commit

Permalink
Merge pull request #624 from mr-c/invalid_escape_sequence
Browse files Browse the repository at this point in the history
fix SyntaxWarning by marking a regex as such
  • Loading branch information
taoliu authored Feb 24, 2024
2 parents 2ceb1ef + ac937d3 commit 1b92238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def main():
clang = True
else:
gcc_version_check = gcc_version_check.split('\n')[0] # get the first line
m = re.search( "\s+(\d+\.\d+)\.\d+", gcc_version_check )
m = re.search(r"\s+(\d+\.\d+)\.\d+", gcc_version_check )
if m:
gcc_version = float( m[1] )
if gcc_version > 4.8:
Expand Down

0 comments on commit 1b92238

Please sign in to comment.