r207348 - Fix the method len of the CompletionString object. Patch by Christopher Greene
Sylvestre Ledru
sylvestre at debian.org
Sat Apr 26 21:42:55 PDT 2014
Author: sylvestre
Date: Sat Apr 26 23:42:55 2014
New Revision: 207348
URL: http://llvm.org/viewvc/llvm-project?rev=207348&view=rev
Log:
Fix the method len of the CompletionString object. Patch by Christopher Greene
Modified:
cfe/trunk/bindings/python/clang/cindex.py
Modified: cfe/trunk/bindings/python/clang/cindex.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/bindings/python/clang/cindex.py?rev=207348&r1=207347&r2=207348&view=diff
==============================================================================
--- cfe/trunk/bindings/python/clang/cindex.py (original)
+++ cfe/trunk/bindings/python/clang/cindex.py Sat Apr 26 23:42:55 2014
@@ -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):
More information about the cfe-commits
mailing list