python bindings: fix Diagnostics.range iterator
The iterator did never throw an IndexError. It was therefore not possible to use it in a normal foreach loop as that loop would never stop. llvm-svn: 124953
Loading
Please register or sign in to comment