From c33fab233dae787a29963fa71546f5ae6b8f3990 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 13 Dec 2012 08:34:18 +0100 Subject: Rename Menu.get_depends_on_visibility() to Menu.get_visibility(). --- kconfiglib.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'kconfiglib.py') 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) -- cgit v1.2.3