Fix a string escape

This commit is contained in:
Dave Halter
2019-08-22 23:32:52 +02:00
parent df014dc527
commit bd754718e1

View File

@@ -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)