From 6157be1a1950e5e04b829dcc763353ce56558040 Mon Sep 17 00:00:00 2001 From: Laurens Van Houtven <_@lvh.cc> Date: Thu, 11 Jul 2013 15:21:10 +0200 Subject: [PATCH] PEP8 indentation of multiline expressions --- jedi/evaluate.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/jedi/evaluate.py b/jedi/evaluate.py index 050ea464..34c651b6 100644 --- a/jedi/evaluate.py +++ b/jedi/evaluate.py @@ -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():