Make python-gut cope with the new async keyword.

This commit is contained in:
Andrew Hamilton 2016-11-01 23:19:25 +01:00
parent 62fa8269dc
commit 5a9b29bb84

2
gut.py
View file

@ -30,7 +30,7 @@ def indentation_of_line(line):
def is_start_line_of_signature(line):
return re.match("^\s*def\s", line) is not None
return re.match("^\s*(async)?\s*def\s", line) is not None
def is_end_line_of_signature(line):