mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
changed the way how the dynamic param function searches it's parent scope, to enable smooth list comprehension following
This commit is contained in:
@@ -76,6 +76,12 @@ return_one(''.undefined_attribute)
|
||||
|
||||
[r for r in [1, 2]]
|
||||
|
||||
# some random error throw
|
||||
class NotCalled():
|
||||
def match_something(self, param):
|
||||
seems_to_need_an_assignment = param
|
||||
return [value.match_something() for value in []]
|
||||
|
||||
# -----------------
|
||||
# decorators
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user