add support for 'with-assignment' hints

This commit is contained in:
Claude committed 2016-02-15 17:52:21 +01:00
1 parent 3a1b2e7104
commit 641fb80773
4 files changed
+20

No files matched your search

+7
View File
@@ -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