forked from VimPlug/jedi
check for 'if foo is not None' checks in the NameFinder. Solves the issues with the subprocess library.
This commit is contained in:
@@ -281,3 +281,13 @@ foo = \
|
||||
1
|
||||
#? int()
|
||||
foo
|
||||
|
||||
# -----------------
|
||||
# if `is not` checks
|
||||
# -----------------
|
||||
|
||||
foo = ['a']
|
||||
if foo is not None:
|
||||
foo = ''.join(foo)
|
||||
#? str()
|
||||
foo
|
||||
|
||||
Reference in New Issue
Block a user