def/class keywords after an opening parentheses led to empty arrays without closing brackets, tests & fixes #416

This commit is contained in:
Dave Halter
2014-07-18 12:53:06 +02:00
parent 3be5220bf1
commit 0dea47b260
2 changed files with 14 additions and 1 deletions

View File

@@ -25,3 +25,12 @@ IndentIssues().one_param()
#? str()
IndentIssues().with_param('')
"""
Just because there's a def keyword, doesn't mean it should not be able to
complete to definition.
"""
definition = 0
#? ['definition', 'def']
str(def