1
0
forked from VimPlug/jedi

finally fixed the most prominent bug, that is being featured on the front page of github-jedi -> class methods shouldn't return their params as a completion

This commit is contained in:
David Halter
2012-11-22 13:01:00 +01:00
parent e60a4dde7b
commit 816d01b543
3 changed files with 5 additions and 2 deletions

View File

@@ -108,7 +108,7 @@ class Script(object):
for s in scopes:
# TODO is this really the right way? just ignore the funcs? \
# do the magic functions first? and then recheck here?
if not isinstance(s, evaluate.Function):
if not s.isinstance(evaluate.Function):
if isinstance(s, imports.ImportPath):
if like == 'import':
l = self.module.get_line(self.pos[0])[:self.pos[1]]