Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
2e67e464
Commit
2e67e464
authored
Nov 05, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extended test case for builtin pow()
parent
ac8c6a9d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
tests/run/builtin_pow.pyx
tests/run/builtin_pow.pyx
+9
-0
No files found.
tests/run/builtin_pow.pyx
View file @
2e67e464
...
@@ -30,3 +30,12 @@ def pow2_const():
...
@@ -30,3 +30,12 @@ def pow2_const():
8
8
"""
"""
return
pow
(
2
,
3
)
return
pow
(
2
,
3
)
def
pow_args
(
*
args
):
"""
>>> pow_args(2,3)
8
>>> pow_args(2,3,5)
3
"""
return
pow
(
*
args
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment