1
0
forked from VimPlug/jedi

Move the python parser tree.

This commit is contained in:
Dave Halter
2017-03-16 17:20:32 +01:00
parent b136800cfc
commit 448bfd0992
28 changed files with 1670 additions and 1671 deletions

View File

@@ -10,7 +10,7 @@ import types
from jedi._compatibility import is_py3, builtins, unicode, is_py34
from jedi.parser.python import parse
from jedi.parser import tree as pt
from jedi.parser.python import tree as pt
modules = {}
@@ -113,7 +113,7 @@ def _faked(module, obj, name):
if faked_mod is None:
return None, None
# Having the module as a `parser.tree.Module`, we need to scan
# Having the module as a `parser.python.tree.Module`, we need to scan
# for methods.
if name is None:
if inspect.isbuiltin(obj) or inspect.isclass(obj):