1
0
forked from VimPlug/jedi

Filtering private variables seems to be working now at least in the evaluation engine.

This commit is contained in:
Dave Halter
2015-01-02 01:49:10 +01:00
parent 8157dd2da8
commit 36819b3241
2 changed files with 28 additions and 19 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ class Script(object):
if settings.case_insensitive_completion \
and n.lower().startswith(like.lower()) \
or n.startswith(like):
if not filter_private_variable(s, user_stmt or self._parser.user_scope(), n):
if True: # TODO reinstate! not filter_private_variable(s, user_stmt or self._parser.user_scope(), n):
if isinstance(c.parent, (pr.Function, pr.Class)):
# TODO I think this is a hack. It should be an
# er.Function/er.Class before that.