~jasper/type_stack_calc

03a99433a08259bb94315ecac11d5fde0a3a267b — Jasper den Ouden 2 years ago 6b65086
Ugh this might be needed
1 files changed, 5 insertions(+), 0 deletions(-)

M type_stack_calc/tp/bool.py
M type_stack_calc/tp/bool.py => type_stack_calc/tp/bool.py +5 -0
@@ 12,3 12,8 @@ class TpBool(BaseType, SetBool):
    def c_name(self):
        return ("true" if self[0] is True
                else ("false" if self[0] is False else "bool"))

class TpNone(BaseType):
    name, c_name, is_const = 'None', 'None', True

the_none = TpNone()