Skip to content

Commit

Permalink
PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
pwoosam committed Dec 11, 2016
1 parent ae1e788 commit 042f68b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spyder/widgets/sourcecode/codeeditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1923,9 +1923,9 @@ def fix_indent(self, forward=True, comment_or_string=False):

if prevtext:

if (prevtext.strip().endswith(')')
or prevtext.strip().endswith(']')
or prevtext.strip().endswith('}')):
if (prevtext.strip().endswith(')') or \
prevtext.strip().endswith(']') or \
prevtext.strip().endswith('}')):

comment_or_string = True # prevent further parsing

Expand Down

0 comments on commit 042f68b

Please sign in to comment.