forked from VimPlug/jedi
list comprehensions should be able to serve as an input for dynamic params as well.
This commit is contained in:
@@ -394,3 +394,13 @@ def third():
|
||||
return list(b)
|
||||
#?
|
||||
third()[0]
|
||||
|
||||
# -----------------
|
||||
# list comprehensions
|
||||
# -----------------
|
||||
|
||||
def from_comprehension(foo):
|
||||
#? float()
|
||||
return foo
|
||||
|
||||
[from_comprehension(1.0) for n in (1,)]
|
||||
|
||||
Reference in New Issue
Block a user