forked from VimPlug/jedi
add support for 'with-assignment' hints
This commit is contained in:
@@ -77,3 +77,10 @@ for bar, baz in foo(): # type: int, float
|
||||
bar
|
||||
#? float()
|
||||
baz
|
||||
|
||||
with foo(): # type: int
|
||||
...
|
||||
|
||||
with foo() as f: # type: str
|
||||
#? str()
|
||||
f
|
||||
|
||||
Reference in New Issue
Block a user