Skip to content

Commit a65654d

Browse files
committed
Fix formatting again, again
wth is going on
1 parent deea255 commit a65654d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/bindings/python/clang/cindex.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,11 +395,11 @@ def end(self):
395395
return conf.lib.clang_getRangeEnd(self) # type: ignore [no-any-return]
396396

397397
def __eq__(self, other):
398-
return isinstance(other, SourceRange) and conf.lib.clang_equalRanges(self, other)
399-
400398
return isinstance(other, SourceRange) and conf.lib.clang_equalRanges(
401399
self, other
402400
)
401+
402+
def __ne__(self, other):
403403
return not self.__eq__(other)
404404

405405
def __contains__(self, other):

0 commit comments

Comments
 (0)