1
0
forked from VimPlug/jedi

cleanup - pep8

This commit is contained in:
David Halter
2013-02-05 17:00:17 +01:00
parent 9d60d7b9ea
commit 783ed0b2a0
2 changed files with 9 additions and 5 deletions

View File

@@ -740,7 +740,7 @@ def follow_path(path, scope, call_scope, position=None):
def filter_private_variable(scope, call_scope, var_name):
if isinstance(var_name, (str, unicode)) \
and var_name.startswith('__') and isinstance(scope, er.Instance):
and var_name.startswith('__') and isinstance(scope, er.Instance):
s = call_scope.get_parent_until((pr.Class, er.Instance))
if s != scope and s != scope.base.base:
return True