diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2020-06-09 21:40:06 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2020-06-09 21:40:06 +0200 |
commit | 2b4c89ada87b126bfd6b70048e98e1ec0a528867 (patch) | |
tree | abd62ed3d4d10dde308f01247a7864fe81ae4c31 /Cython/Compiler/FlowControl.py | |
parent | 2f6c69b1e3d344239399f4f7188a52d5f29b51c3 (diff) | |
download | cython-linting.tar.gz |
Clean up some operator usages and style issues, and enforce them with pycodestyle.linting
Diffstat (limited to 'Cython/Compiler/FlowControl.py')
-rw-r--r-- | Cython/Compiler/FlowControl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Compiler/FlowControl.py b/Cython/Compiler/FlowControl.py index 45ce2dd09..ec38ed164 100644 --- a/Cython/Compiler/FlowControl.py +++ b/Cython/Compiler/FlowControl.py @@ -455,7 +455,7 @@ class GVContext(object): start = min(block.positions) stop = max(block.positions) srcdescr = start[0] - if not srcdescr in self.sources: + if srcdescr not in self.sources: self.sources[srcdescr] = list(srcdescr.get_lines()) lines = self.sources[srcdescr] return '\\n'.join([l.strip() for l in lines[start[1] - 1:stop[1]]]) |