1
0
forked from VimPlug/jedi

PEP8 indentation of multiline expressions

This commit is contained in:
Laurens Van Houtven
2013-07-11 15:21:10 +02:00
parent 1391a5a914
commit 6157be1a19

View File

@@ -168,10 +168,9 @@ def get_names_of_scope(scope, position=None, star_search=True,
# Ignore the Flows, because the classes and functions care for that.
# InstanceElement of Class is ignored, if it is not the start scope.
if not (scope != non_flow and scope.isinstance(pr.Class)
or scope.isinstance(pr.Flow)
or scope.isinstance(er.Instance)
and non_flow.isinstance(er.Function)
):
or scope.isinstance(pr.Flow)
or scope.isinstance(er.Instance)
and non_flow.isinstance(er.Function)):
try:
if isinstance(scope, er.Instance):
for g in scope.scope_generator():