From d33c039877eb81008cbc22c09d215b43ad318b6b Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 25 Jan 2018 09:56:43 +0100 Subject: direct_dep documentation nit It's also used for the warning added in 0087b40 ("Warn if a symbol with unsatisfied deps is selected") now. --- kconfiglib.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kconfiglib.py b/kconfiglib.py index 02a45f8..3760580 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -1515,7 +1515,7 @@ class Kconfig(object): for files. parent: - The parent menu node, corresponding to menu, Choice, or 'if'. 'if's + The parent menu node, corresponding to a menu, Choice, or 'if'. 'if's are flattened after parsing. visible_if_deps: @@ -2352,8 +2352,8 @@ class Symbol(object): The 'depends on' dependencies. If a symbol is defined in multiple locations, the dependencies at each location are ORed together. - Internally, this is only used to implement 'imply', which only applies if - the implied symbol has expr_value(self.direct_dep) != 0. 'depends on' and + Internally, this is used to implement 'imply', which only applies if the + implied symbol has expr_value(self.direct_dep) != 0. 'depends on' and parent dependencies are automatically propagated to the conditions of properties, so normally it's redundant to check the direct dependencies. -- cgit v1.2.3