From 2d10680fe173c21c33367a04bb0969f65a43434c Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Sun, 5 Feb 2012 12:15:56 +0000 Subject: [PATCH] [clang.py] Change type -> Type Names that have corresponding classes in python are commonly started with an uppercase letter. Let's follow that convention. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149831 91177308-0d34-0410-b5e6-96231b3b80d8 --- bindings/python/clang/cindex.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bindings/python/clang/cindex.py b/bindings/python/clang/cindex.py index 8629213207..a5e3ed6845 100644 --- a/bindings/python/clang/cindex.py +++ b/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'): -- 2.50.1