mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-11 18:39:12 +08:00
add support for 'for-assignment' hints
This commit is contained in:
1 parent
8b28678d19
commit
3a1b2e7104
4 files changed
+37
-9
No files matched your search
@@ -66,3 +66,14 @@ x = [
|
||||
|
||||
#? str()
|
||||
x[1]
|
||||
|
||||
|
||||
for bar in foo(): # type: str
|
||||
#? str()
|
||||
bar
|
||||
|
||||
for bar, baz in foo(): # type: int, float
|
||||
#? int()
|
||||
bar
|
||||
#? float()
|
||||
baz
|
||||
Reference in new issue
Block a user