summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBFileSpec.i
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-06-29 22:00:42 +0000
committerGreg Clayton <gclayton@apple.com>2012-06-29 22:00:42 +0000
commit5ef31a9c46db8431a76239857d1f76773cbc9730 (patch)
tree03a50f10ee8afd5cf25b2891e0c466476755f656 /lldb/scripts/Python/interface/SBFileSpec.i
parent9a69ac5d678adf256e5a7d241ec96cd230f3b83c (diff)
downloadbcm5719-llvm-5ef31a9c46db8431a76239857d1f76773cbc9730.tar.gz
bcm5719-llvm-5ef31a9c46db8431a76239857d1f76773cbc9730.zip
Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output.
llvm-svn: 159468
Diffstat (limited to 'lldb/scripts/Python/interface/SBFileSpec.i')
-rw-r--r--lldb/scripts/Python/interface/SBFileSpec.i8
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/scripts/Python/interface/SBFileSpec.i b/lldb/scripts/Python/interface/SBFileSpec.i
index ae23c8fd5fc..07d97babbee 100644
--- a/lldb/scripts/Python/interface/SBFileSpec.i
+++ b/lldb/scripts/Python/interface/SBFileSpec.i
@@ -80,16 +80,16 @@ public:
return None
__swig_getmethods__["fullpath"] = __get_fullpath__
- if _newclass: x = property(__get_fullpath__, None)
+ if _newclass: fullpath = property(__get_fullpath__, None, doc='''A read only property that returns the fullpath as a python string.''')
__swig_getmethods__["basename"] = GetFilename
- if _newclass: x = property(GetFilename, None)
+ if _newclass: basename = property(GetFilename, None, doc='''A read only property that returns the path basename as a python string.''')
__swig_getmethods__["dirname"] = GetDirectory
- if _newclass: x = property(GetDirectory, None)
+ if _newclass: dirname = property(GetDirectory, None, doc='''A read only property that returns the path directory name as a python string.''')
__swig_getmethods__["exists"] = Exists
- if _newclass: x = property(Exists, None)
+ if _newclass: exists = property(Exists, None, doc='''A read only property that returns a boolean value that indicates if the file exists.''')
%}
};
OpenPOWER on IntegriCloud