summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2012-12-06 23:29:32 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2012-12-06 23:29:32 +0100
commitdb8a3650ffae0b659d819c0d453546655ae0a4c3 (patch)
tree7be37938ee33b9c0de84bf559c24601b81617bf2 /kconfiglib.py
parent327dcb7174b3a0205bbefa99f46e7b16223d0efb (diff)
Add Choice.get_help().
Oversight.
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 25a5a31..e5d0e74 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -3175,6 +3175,11 @@ class Choice(Item, _HasVisibility):
files as of Linux 2.6.38-rc3."""
return self.name
+ def get_help(self):
+ """Returns the help text of the choice, or None if the choice has no
+ help text."""
+ return self.help
+
def get_type(self):
"""Returns the type of the choice. See Symbol.get_type()."""
return self.type