forked from VimPlug/jedi
remove CallSignature.module, because that's something for internal use
This commit is contained in:
@@ -136,7 +136,10 @@ class Script(object):
|
||||
if not dot:
|
||||
# add named params
|
||||
for call_sig in self.call_signatures():
|
||||
if not isinstance(call_sig.module, compiled.CompiledObject):
|
||||
# allow protected access, because it's a public API.
|
||||
module = call_sig._executable.get_parent_until()
|
||||
# Compiled modules typically don't allow keyword arguments.
|
||||
if not isinstance(module, compiled.CompiledObject):
|
||||
for p in call_sig.params:
|
||||
# Allow access on _definition here, because it's a
|
||||
# public API and we don't want to make the internal
|
||||
|
||||
@@ -586,10 +586,6 @@ class CallSignature(object):
|
||||
""" The name (e.g. 'isinstance') as a string. """
|
||||
return unicode(self._executable.name)
|
||||
|
||||
@property
|
||||
def module(self):
|
||||
return self._executable.get_parent_until()
|
||||
|
||||
def __repr__(self):
|
||||
return '<%s: %s index %s>' % (type(self).__name__, self._executable,
|
||||
self.index)
|
||||
|
||||
Reference in New Issue
Block a user