summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-01-22 05:16:43 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-01-22 05:16:43 +0100
commit27fbded9b4b1b0e7488aeabd4d07471d7f034e0e (patch)
treef47ad677768a3b165e1dcd256645af414dc474a4
parent121d4a78475837331e74a967b72b09dd868e468d (diff)
Fix outdated comments referencing user_str/tri_value
Ended up with just user_value in the end before releasing Kconfiglib 2.
-rw-r--r--kconfiglib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 405d5c2..59869e3 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -2643,7 +2643,7 @@ class Symbol(object):
Equal in effect to assigning the value to the symbol within a .config
file. For bool and tristate symbols, use the 'assignable' attribute to
check which values can currently be assigned. Setting values outside
- 'assignable' will cause Symbol.user_str/tri_value to differ from
+ 'assignable' will cause Symbol.user_value to differ from
Symbol.str/tri_value (be truncated down or up).
Setting a choice symbol to 2 (y) only updates Choice.user_selection on
@@ -2661,7 +2661,7 @@ class Symbol(object):
pass a string.
Values that are invalid for the type (such as "foo" or 1 (m) for a
- BOOL) are ignored and won't be stored in Symbol.user_str/tri_value.
+ BOOL) are ignored and won't be stored in Symbol.user_value.
Kconfiglib will print a warning by default for invalid assignments,
and set_value() will return False.