mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 23:34:45 +08:00
functions fully working with default arguments/generators/decorators, but without recursion
This commit is contained in:
@@ -78,6 +78,7 @@ class Definition(object):
|
||||
def get_module(self):
|
||||
par = self.scope
|
||||
while True:
|
||||
# TODO what to do with `evaluate.Array` ?
|
||||
if par.parent is not None:
|
||||
par = par.parent
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user