minor code cleanup
authorStefan Behnel <stefan_ml@behnel.de>
Sun, 1 Sep 2013 20:33:59 +0000 (22:33 +0200)
committerStefan Behnel <stefan_ml@behnel.de>
Sun, 1 Sep 2013 20:33:59 +0000 (22:33 +0200)
Cython/Compiler/Annotate.py

index bb795cd..525ca67 100644 (file)
@@ -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