summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2012-12-07 01:14:51 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2012-12-07 01:14:51 +0100
commitc2af0c8e8b3df50ee25d0e6bc2361461b498bec9 (patch)
treeec7480a3159c57dae159f50b006f1b3ed7a570eb /kconfiglib.py
parent381f9eac7ef1fb8dadb98290a857a37d1ccbe786 (diff)
Clarify ordering with get_actual_items().
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py16
1 files changed, 8 insertions, 8 deletions
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):