summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kconfiglib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index c89e439..9515e43 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -3034,6 +3034,8 @@ class Choice(object):
if self._cached_selection is not _NO_CACHED_SELECTION:
return self._cached_selection
+ # Warning: See Symbol._rec_invalidate(), and note that this is a hidden
+ # function call (property magic)
if self.tri_value != 2:
self._cached_selection = None
return None