mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
def/class keywords after an opening parentheses led to empty arrays without closing brackets, tests & fixes #416
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user