From 04fd9f099d86e2ab60ddfac6cee2c2d51c06cd48 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sun, 9 Dec 2012 08:22:20 +0100 Subject: Clarify purpose of _build_dep(). --- kconfiglib.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'kconfiglib.py') diff --git a/kconfiglib.py b/kconfiglib.py index f92bb24..cc91bf2 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -1569,7 +1569,11 @@ might be an error, and you should e-mail kconfiglib@gmail.com. def _build_dep(self): """Populates the dep dictionary, linking a symbol to the symbols that - immediately depend on it.""" + immediately depend on it in the sense that changing the value of the + symbol might affect the values of those other symbols. This is used for + caching/invalidation purposes. The returned set might be larger than + necessary as we don't do any complicated analysis of the + expressions.""" for sym in self.syms.itervalues(): self.dep[sym] = set() -- cgit v1.2.3