1
0
forked from VimPlug/jedi

reverse backwords incompatibility of #393 and therefore deprecate CallSignature.module

This commit is contained in:
Dave Halter
2014-04-02 13:59:05 +02:00
parent edb0bbd183
commit cc5957d56c

View File

@@ -668,6 +668,15 @@ class CallSignature(Definition):
warnings.warn("Use name instead.", DeprecationWarning)
return unicode(self._definition.name)
@property
def module(self):
"""
.. deprecated:: 0.8.0
Use :attr:`.module_name` for the module name.
.. todo:: Remove!
"""
return self._executable.get_parent_until()
def __repr__(self):
return '<%s: %s index %s>' % (type(self).__name__, self._definition,
self.index)