aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2012-02-05 12:15:56 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2012-02-05 12:15:56 +0000
commit6a7644683cf6857e55bf8b75ef9cbb6b9f4e5b1c (patch)
treeb2724b0e195edafca55d190913a44a8b1ba09155
parenta0022e911ec13976ea91e31ea7f713ab89cfe439 (diff)
downloadllvm-6a7644683cf6857e55bf8b75ef9cbb6b9f4e5b1c.zip
llvm-6a7644683cf6857e55bf8b75ef9cbb6b9f4e5b1c.tar.gz
llvm-6a7644683cf6857e55bf8b75ef9cbb6b9f4e5b1c.tar.bz2
[clang.py] Change type -> Type
Names that have corresponding classes in python are commonly started with an uppercase letter. Let's follow that convention. llvm-svn: 149831
-rw-r--r--clang/bindings/python/clang/cindex.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/bindings/python/clang/cindex.py b/clang/bindings/python/clang/cindex.py
index 86292132..a5e3ed6 100644
--- a/clang/bindings/python/clang/cindex.py
+++ b/clang/bindings/python/clang/cindex.py
@@ -974,8 +974,7 @@ class Cursor(Structure):
@property
def type(self):
"""
- Retrieve the type (if any) of of the entity pointed at by the
- cursor.
+ Retrieve the Type (if any) of the entity pointed at by the cursor.
"""
if not hasattr(self, '_type'):
self._type = Cursor_type(self)
@@ -985,7 +984,7 @@ class Cursor(Structure):
def underlying_typedef_type(self):
"""Return the underlying type of a typedef declaration.
- Returns a type for the typedef this cursor is a declaration for. If
+ Returns a Type for the typedef this cursor is a declaration for. If
the current cursor is not a typedef, this raises.
"""
if not hasattr(self, '_underlying_type'):
@@ -998,7 +997,7 @@ class Cursor(Structure):
def enum_type(self):
"""Return the integer type of an enum declaration.
- Returns a type corresponding to an integer. If the cursor is not for an
+ Returns a Type corresponding to an integer. If the cursor is not for an
enum, this raises.
"""
if not hasattr(self, '_enum_type'):