Cache getting resolved param names
This commit is contained in:
1 parent
a739c17a6f
commit
ec70815318
3 files changed
+5
-3
No files matched your search
@@ -1,4 +1,5 @@
|
||||
from jedi._compatibility import Parameter
|
||||
from jedi.cache import memoize_method
|
||||
|
||||
|
||||
class _SignatureMixin(object):
|
||||
@@ -80,6 +81,7 @@ class TreeSignature(AbstractSignature):
|
||||
return ''
|
||||
return a.get_code(include_prefix=False)
|
||||
|
||||
@memoize_method
|
||||
def get_param_names(self, resolve_stars=False):
|
||||
params = super(TreeSignature, self).get_param_names()
|
||||
if resolve_stars:
|
||||
|
||||
Reference in new issue
Block a user