summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2012-12-09 08:22:20 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2012-12-09 08:22:20 +0100
commit04fd9f099d86e2ab60ddfac6cee2c2d51c06cd48 (patch)
tree37eb9d2161dd0befe630c6aa6e660ff95723161c /kconfiglib.py
parent6589085f85859ca76fae77d984d50a76781df3fe (diff)
Clarify purpose of _build_dep().
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py6
1 files changed, 5 insertions, 1 deletions
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()