Mercurial > lcfOS
view python/ks/builtin.py @ 182:e9b27f7193e3
Replace clear function by function also supported in python 3.2
author | Windel Bouwman |
---|---|
date | Sat, 18 May 2013 18:24:42 +0200 |
parents | 91af0e40f868 |
children |
line wrap: on
line source
from .nodes import * boolean = BaseType('boolean', 8) integer = BaseType('integer', 8) real = BaseType('real', 8) char = BaseType('char', 1) void = BaseType('void', 0) chr_func = BuiltinProcedure('chr', ProcedureType([Parameter('value', 'x', integer)], char))