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

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

No files matched your search

+9
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