1
0
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:
Dave Halter
2014-05-20 16:13:39 +02:00
parent 79556a7935
commit f57b53bbe2
2 changed files with 29 additions and 0 deletions

View File

@@ -281,3 +281,13 @@ foo = \
1
#? int()
foo
# -----------------
# if `is not` checks
# -----------------
foo = ['a']
if foo is not None:
foo = ''.join(foo)
#? str()
foo