Skip to content

Commit 6d088d1

Browse files
committed
fix
1 parent 44bb17e commit 6d088d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pydocstring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def _controller_factory(self, env, templater, style):
243243
elif first_word == 'class':
244244
return ClassController(env, templater, style=style)
245245
elif first_word == 'async':
246-
second_word_catch = re.match('^\s*\w+\s+(\w+).*', l)
246+
second_word_catch = re.match('^\s*\w+\s+(\w+).*', line)
247247
if second_word_catch:
248248
second_word = second_word_catch.groups()[0]
249249
if second_word == 'def':

0 commit comments

Comments
 (0)