add support for 'with-assignment' hints
This commit is contained in:
1 parent
3a1b2e7104
commit
641fb80773
4 files changed
+20
No files matched your search
@@ -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