projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d11ab20
)
minor code cleanup
author
Stefan Behnel
<stefan_ml@behnel.de>
Sun, 1 Sep 2013 20:33:59 +0000
(22:33 +0200)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Sun, 1 Sep 2013 20:33:59 +0000
(22:33 +0200)
Cython/Compiler/Annotate.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Annotate.py
b/Cython/Compiler/Annotate.py
index
bb795cd
..
525ca67
100644
(file)
--- a/
Cython/Compiler/Annotate.py
+++ b/
Cython/Compiler/Annotate.py
@@
-76,8
+76,7
@@
class AnnotationCCodeWriter(CCodeWriter):
else:
all.append((pos, start+end))
- all.sort()
- all.reverse()
+ all.sort(reverse=True)
for pos, item in all:
_, line_no, col = pos
line_no -= 1