diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2014-04-27 04:42:55 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2014-04-27 04:42:55 +0000 |
commit | 2e3eed3e5bdca4f5c1fd2af2320e3761869d292e (patch) | |
tree | e167fb62a97ed7e070d2119894131d46a0459b27 /bindings | |
parent | fa101d9f9439717c95f0c36ec6149d95746c65bb (diff) | |
download | clang-2e3eed3e5bdca4f5c1fd2af2320e3761869d292e.tar.gz |
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
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/python/clang/cindex.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 "<Availability: %s>" % self def __len__(self): - self.num_chunks + return self.num_chunks @CachedProperty def num_chunks(self): |