From 3a0400ce34e2eaffc7c4ed9df01c15dea07a36b6 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Fri, 26 Jan 2018 03:09:26 +0100 Subject: Remove BOOL and TRISTATE from _TYPE_TO_BASE No longer needed after 955ea4 ("Support <, > relational operators with tristates"). --- kconfiglib.py | 5 +---- 1 file changed, 1 insertion(+), 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, } -- cgit v1.2.3