diff options
| -rw-r--r-- | kconfiglib.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 5ccee20..aa2ee04 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -2726,8 +2726,7 @@ class Symbol(Item, _HasVisibility): """Returns True if the symbol is contained in a choice statement and is the selected item, otherwise False. Equivalent to 'sym.is_choice_symbol() and sym.get_parent().get_selection() is sym'.""" - return self.is_choice_symbol_ and \ - self.parent.get_selection() is self + return self.is_choice_symbol_ and self.parent.get_selection() is self def __str__(self): """Returns a string containing various information about the symbol.""" |
