From: Sylvestre Ledru Date: Sun, 27 Apr 2014 04:42:55 +0000 (+0000) Subject: Fix the method len of the CompletionString object. Patch by Christopher Greene X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e3eed3e5bdca4f5c1fd2af2320e3761869d292e;p=clang Fix the method len of the CompletionString object. Patch by Christopher Greene git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207348 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/bindings/python/clang/cindex.py b/bindings/python/clang/cindex.py index 516f961ad0..21c3f9a8f3 100644 --- a/bindings/python/clang/cindex.py +++ b/bindings/python/clang/cindex.py @@ -1993,7 +1993,7 @@ class CompletionString(ClangObject): return "" % self def __len__(self): - self.num_chunks + return self.num_chunks @CachedProperty def num_chunks(self):