projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac8c6a9
)
extended test case for builtin pow()
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 5 Nov 2010 17:30:15 +0000
(18:30 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 5 Nov 2010 17:30:15 +0000
(18:30 +0100)
tests/run/builtin_pow.pyx
patch
|
blob
|
history
diff --git
a/tests/run/builtin_pow.pyx
b/tests/run/builtin_pow.pyx
index 8b4b4f04e563a16750e23328d4144928c4f11069..cb28160abbd3a378da87203609ea20ebacfc9a42 100644
(file)
--- 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)