Skip to content

Commit 4aa1936

Browse files
tirkarthibrian-brazil
authored andcommitted
Fix SyntaxWarning due to unescaped sequence (#366)
Signed-off-by: xtreak <[email protected]>
1 parent 4884cb3 commit 4aa1936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prometheus_client/decorator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def getargspec(f):
7979
return ArgSpec(spec.args, spec.varargs, spec.varkw, spec.defaults)
8080

8181

82-
DEF = re.compile('\s*def\s*([_\w][_\w\d]*)\s*\(')
82+
DEF = re.compile(r'\s*def\s*([_\w][_\w\d]*)\s*\(')
8383

8484

8585
# basic functionality

0 commit comments

Comments
 (0)