summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-01-26 03:09:26 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-01-26 03:32:12 +0100
commit3a0400ce34e2eaffc7c4ed9df01c15dea07a36b6 (patch)
tree7e387a426d0ef6762358deb0dbeeea8cf4da1e5c
parentf02c7775d446edbb07b15fda8f9fe1c7e0959ed5 (diff)
Remove BOOL and TRISTATE from _TYPE_TO_BASE
No longer needed after 955ea4 ("Support <, > relational operators with tristates").
-rw-r--r--kconfiglib.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 3760580..05a2a45 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -4388,14 +4388,11 @@ _TOKEN_TO_TYPE = {
_NO_CACHED_SELECTION = object()
# Used in comparisons. 0 means the base is inferred from the format of the
-# string. The entries for BOOL and TRISTATE are an implementation convenience:
-# They should never convert to valid numbers.
+# string.
_TYPE_TO_BASE = {
- BOOL: 0,
HEX: 16,
INT: 10,
STRING: 0,
- TRISTATE: 0,
UNKNOWN: 0,
}