forked from VimPlug/jedi
add module_path documentation, fixes #306
This commit is contained in:
@@ -80,6 +80,7 @@ class BaseDefinition(object):
|
|||||||
# generate a path to the definition
|
# generate a path to the definition
|
||||||
self._module = definition.get_parent_until()
|
self._module = definition.get_parent_until()
|
||||||
self.module_path = self._module.path
|
self.module_path = self._module.path
|
||||||
|
"""Shows the file path of a module. e.g. ``/usr/lib/python2.7/os.py``"""
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def start_pos(self):
|
def start_pos(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user