diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-13 08:34:18 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-13 08:35:35 +0100 |
| commit | c33fab233dae787a29963fa71546f5ae6b8f3990 (patch) | |
| tree | 788dde20149a4d965c86cf975d038549af1a774e /kconfiglib.py | |
| parent | 892cd2bb369c6371a25062e7288aa4581a2f1a26 (diff) | |
Rename Menu.get_depends_on_visibility() to Menu.get_visibility().
Diffstat (limited to 'kconfiglib.py')
| -rw-r--r-- | kconfiglib.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 740802b..f8bc69d 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -2580,9 +2580,7 @@ class Symbol(Item, _HasVisibility): wouldn't be safe. You should probably look at get_lower/upper_bound(), - get_assignable_values() and is_modifiable() before using this. Not sure - if it should even be public. - """ + get_assignable_values() and is_modifiable() before using this.""" return self._get_visibility() def get_parent(self): @@ -3002,7 +3000,7 @@ class Menu(Item): # Public interface # - def get_depends_on_visibility(self): + def get_visibility(self): """Returns the visibility the menu gets from 'depends on' conditions. This is propagated to subitems.""" return self.config._eval_expr(self.dep_expr) |
