[cfe-commits] r94382 - /cfe/trunk/bindings/python/clang/cindex.py

Daniel Dunbar daniel at zuster.org
Sun Jan 24 13:19:40 PST 2010


Author: ddunbar
Date: Sun Jan 24 15:19:40 2010
New Revision: 94382

URL: http://llvm.org/viewvc/llvm-project?rev=94382&view=rev
Log:
cindex/Python: Remove Cursor.file forwarding method, this doesn't really fit the API.

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=94382&r1=94381&r2=94382&view=diff

==============================================================================
--- cfe/trunk/bindings/python/clang/cindex.py (original)
+++ cfe/trunk/bindings/python/clang/cindex.py Sun Jan 24 15:19:40 2010
@@ -213,14 +213,6 @@
         """
         return Cursor_extent(self)
 
-    @property
-    def file(self):
-        """
-        Return the file containing the pointed-at entity. This is an alias for
-        location.file.
-        """
-        return self.location.file
-
     def get_children(self):
         """Return an iterator for the accessing children of this cursor."""
 





More information about the cfe-commits mailing list