mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
possible to return dynamic arrays
This commit is contained in:
@@ -653,7 +653,7 @@ class Execution(Executable):
|
||||
Call the default method with the own instance (self implements all
|
||||
the necessary functions). Add also the params.
|
||||
"""
|
||||
return self.get_params() + parsing.Scope._get_set_vars(self)
|
||||
return self.get_params() + parsing.Scope.get_set_vars(self)
|
||||
|
||||
def copy_properties(self, prop):
|
||||
# Copy all these lists into this local function.
|
||||
@@ -691,6 +691,9 @@ class Execution(Executable):
|
||||
def subscopes(self):
|
||||
return self.copy_properties('subscopes')
|
||||
|
||||
def get_statement_for_position(self, pos):
|
||||
return parsing.Scope.get_statement_for_position(self, pos)
|
||||
|
||||
def __repr__(self):
|
||||
return "<%s of %s>" % \
|
||||
(self.__class__.__name__, self.base)
|
||||
|
||||
Reference in New Issue
Block a user