From: Stefan Behnel Date: Fri, 5 Nov 2010 17:30:15 +0000 (+0100) Subject: extended test case for builtin pow() X-Git-Tag: 0.14.alpha0~225 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2e67e464816d118d131232a61d170185690a32ab;p=cython.git extended test case for builtin pow() --- diff --git a/tests/run/builtin_pow.pyx b/tests/run/builtin_pow.pyx index 8b4b4f04..cb28160a 100644 --- a/tests/run/builtin_pow.pyx +++ b/tests/run/builtin_pow.pyx @@ -30,3 +30,12 @@ def pow2_const(): 8 """ return pow(2,3) + +def pow_args(*args): + """ + >>> pow_args(2,3) + 8 + >>> pow_args(2,3,5) + 3 + """ + return pow(*args)