summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-17 20:28:20 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-17 20:28:20 +0200
commitc3a9876023bfc56be1d34ab31def2d6cd5b9da7f (patch)
treeeb4d8eb3c4725bdbea5812578a2a4b52818e54c4
parentfa2981cfff105b2ce80bc1dbbfbf9709447dbb3c (diff)
_sym_lookup() docstring nit.
-rw-r--r--kconfiglib.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index a3b574e..91cbf7e 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -1350,9 +1350,10 @@ class Config(object):
#
def _sym_lookup(self, name, for_eval=False):
- """Fetches the symbol 'name' from the symbol table. If 'for_eval' is
- True, the symbol won't be added to the symbol if it does not exist --
- this is for Config.eval()."""
+ """Fetches the symbol 'name' from the symbol table, creating and
+ registering it if it does not exist. If 'for_eval' is True, the symbol
+ won't be added to the symbol table if it does not exist -- this is for
+ Config.eval()."""
if name in self.syms:
return self.syms[name]