summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2014-04-27 04:42:55 +0000
committerSylvestre Ledru <sylvestre@debian.org>2014-04-27 04:42:55 +0000
commit2e3eed3e5bdca4f5c1fd2af2320e3761869d292e (patch)
treee167fb62a97ed7e070d2119894131d46a0459b27 /bindings
parentfa101d9f9439717c95f0c36ec6149d95746c65bb (diff)
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.py2
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):