summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/bindings/python/clang/cindex.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/bindings/python/clang/cindex.py b/clang/bindings/python/clang/cindex.py
index 446d80d176e..e683f5ba72a 100644
--- a/clang/bindings/python/clang/cindex.py
+++ b/clang/bindings/python/clang/cindex.py
@@ -1693,8 +1693,8 @@ class CompletionChunk:
@CachedProperty
def spelling(self):
- if self.__kindNumber in SpellingCache:
- return SpellingCache[self.__kindNumber]
+ if self.__kindNumber in SpellingCache:
+ return SpellingCache[self.__kindNumber]
return conf.lib.clang_getCompletionChunkText(self.cs, self.key).spelling
# We do not use @CachedProperty here, as the manual implementation is
@@ -1704,7 +1704,7 @@ class CompletionChunk:
def __kindNumber(self):
if self.__kindNumberCache == -1:
self.__kindNumberCache = \
- conf.lib.clang_getCompletionChunkKind(self.cs, self.key)
+ conf.lib.clang_getCompletionChunkKind(self.cs, self.key)
return self.__kindNumberCache
@CachedProperty
OpenPOWER on IntegriCloud