From c2af0c8e8b3df50ee25d0e6bc2361461b498bec9 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Fri, 7 Dec 2012 01:14:51 +0100 Subject: Clarify ordering with get_actual_items(). --- kconfiglib.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kconfiglib.py') diff --git a/kconfiglib.py b/kconfiglib.py index e5d0e74..d522aa4 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -3192,14 +3192,14 @@ class Choice(Item, _HasVisibility): return self.block.get_items() def get_actual_items(self): - """A quirk (perhaps better described as a bug -- at least for symbols) - of kconfig is that you can put items within a choice that will not be - considered members of the choice insofar as selection is concerned. - This happens for example if one symbol within a choice 'depends on' the - symbol preceding it, or if you put non-symbol items within choices. - - This function gets a list of the "proper" elements of the choice, - excluding such items.""" + """A quirk (perhaps better described as a bug) of kconfig is that you + can put items within a choice that will not be considered members of + the choice insofar as selection is concerned. This happens for example + if one symbol within a choice 'depends on' the symbol preceding it, or + if you put non-symbol items within choices. + + This function gets a list of the "proper" elements of the choice in the + order they appears in the choice, excluding such items.""" return self.actual_items def get_parent(self): -- cgit v1.2.3