mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-08 23:50:58 +08:00
add support for 'for-assignment' hints
This commit is contained in:
@@ -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