From b830dd527c41ea5fd9f33158d430b288c171becf Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 6 Dec 2014 14:54:41 +0800 Subject: [PATCH] test/py2llvm: pep8 --- test/py2llvm.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/py2llvm.py b/test/py2llvm.py index 0c82f98dd..12bd42c90 100644 --- a/test/py2llvm.py +++ b/test/py2llvm.py @@ -192,24 +192,24 @@ def frac_arith_encode_int_rev(op, a, b, x): def frac_arith_float(op, a, b, x): if op == 0: - return Fraction(a, b) - x + return Fraction(a, b) - x elif op == 1: - return Fraction(a, b) + x + return Fraction(a, b) + x elif op == 2: - return Fraction(a, b) * x + return Fraction(a, b) * x else: - return Fraction(a, b) / x + return Fraction(a, b) / x def frac_arith_float_rev(op, a, b, x): if op == 0: - return x - Fraction(a, b) + return x - Fraction(a, b) elif op == 1: - return x + Fraction(a, b) + return x + Fraction(a, b) elif op == 2: - return x * Fraction(a, b) + return x * Fraction(a, b) else: - return x / Fraction(a, b) + return x / Fraction(a, b) def array_test():