Fix a string escape
This commit is contained in:
1 parent
df014dc527
commit
bd754718e1
1 file changed
+1
-1
@@ -294,4 +294,4 @@ def cut_value_at_position(leaf, position):
|
||||
|
||||
|
||||
def get_string_quote(leaf):
|
||||
return re.match('\w*("""|\'{3}|"|\')', leaf.value).group(1)
|
||||
return re.match(r'\w*("""|\'{3}|"|\')', leaf.value).group(1)
|
||||
Reference in new issue
Block a user