Skip to content

Commit 6f1b21f

Browse files
committed
setup.py: Use raw string for regexp
1 parent a190cdd commit 6f1b21f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def _libuv_build_env():
3131
env = os.environ.copy()
3232

3333
cur_cflags = env.get('CFLAGS', '')
34-
if not re.search('-O\d', cur_cflags):
34+
if not re.search(r'-O\d', cur_cflags):
3535
cur_cflags += ' -O2'
3636

3737
env['CFLAGS'] = (cur_cflags + ' -fPIC ' + env.get('ARCHFLAGS', ''))

0 commit comments

Comments
 (0)