1
0
forked from VimPlug/jedi

again working with further refactorings

This commit is contained in:
David Halter
2012-09-22 00:54:20 +02:00
parent 0bdcc968e3
commit 7dc96502eb
2 changed files with 14 additions and 19 deletions

View File

@@ -288,7 +288,7 @@ class Module(Scope):
n += self.global_vars
return n
def get_module_name(self):
def get_name(self):
""" This is used for the goto function. """
sep = (os.path.sep,) * 2
r = re.search(r'([^%s]+?)(%s__init__)?(\.py)?$' % sep, self.path)