From 6baac631f00d99eef3900357c45baf7a0f0e27dd Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 4 Jan 2016 23:43:49 +0000 Subject: Python backend: Unbox integers by getting ._value directly --- src/main/resources/python/runtime/_couscous.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/main/resources/python/runtime/_couscous.py') diff --git a/src/main/resources/python/runtime/_couscous.py b/src/main/resources/python/runtime/_couscous.py index 8d92f8e..b8ab6fd 100644 --- a/src/main/resources/python/runtime/_couscous.py +++ b/src/main/resources/python/runtime/_couscous.py @@ -9,10 +9,4 @@ def _mod_round_to_zero(a, b): return -(-a % b) if (a < 0) ^ (b < 0) else a % b def boxInt(value): - return Integer(value) - -def unboxInt(value): - return value._value - -def boxBoolean(value): - return Boolean(value) \ No newline at end of file + return Integer(value) \ No newline at end of file -- cgit v1.2.3