diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-09 08:22:20 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-09 08:22:20 +0100 |
| commit | 04fd9f099d86e2ab60ddfac6cee2c2d51c06cd48 (patch) | |
| tree | 37eb9d2161dd0befe630c6aa6e660ff95723161c | |
| parent | 6589085f85859ca76fae77d984d50a76781df3fe (diff) | |
Clarify purpose of _build_dep().
| -rw-r--r-- | kconfiglib.py | 6 |
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() |
