From db8a3650ffae0b659d819c0d453546655ae0a4c3 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 6 Dec 2012 23:29:32 +0100 Subject: Add Choice.get_help(). Oversight. --- kconfiglib.py | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3