Commit 69bc437d authored by Stefan Behnel's avatar Stefan Behnel

minor code cleanup

--HG--
extra : transplant_source : %D7%EC%163%08%A9N%E1%94%95%97%3A.%E94%D0%7C%AE%F3%85
parent ddb44a10
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment