forked from VimPlug/jedi
Some Python 2 fixes.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from jedi._compatibility import Python3Method
|
||||
from jedi.common import unite
|
||||
|
||||
|
||||
@@ -42,9 +43,11 @@ class Context(object):
|
||||
def eval_stmt(self, stmt, seek_name=None):
|
||||
return self.evaluator.eval_statement(self, stmt, seek_name)
|
||||
|
||||
@Python3Method
|
||||
def eval_trailer(self, types, trailer):
|
||||
return self.evaluator.eval_trailer(self, types, trailer)
|
||||
|
||||
@Python3Method
|
||||
def py__getattribute__(self, name_or_str, name_context=None, position=None,
|
||||
search_global=False, is_goto=False):
|
||||
if name_context is None:
|
||||
|
||||
Reference in New Issue
Block a user