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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
cython
Commits
829d6485
Commit
829d6485
authored
Mar 02, 2011
by
Lisandro Dalcin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix special methods testcase for previous changes to __ipow__
parent
f234571c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/run/special_methods_T561.pyx
tests/run/special_methods_T561.pyx
+1
-1
No files found.
tests/run/special_methods_T561.pyx
View file @
829d6485
...
@@ -401,7 +401,7 @@ cdef class VerySpecial:
...
@@ -401,7 +401,7 @@ cdef class VerySpecial:
def
__imod__
(
self
,
other
):
def
__imod__
(
self
,
other
):
print
"VS __imod__ %d %%= %d"
%
(
self
.
value
,
other
.
value
)
print
"VS __imod__ %d %%= %d"
%
(
self
.
value
,
other
.
value
)
def
__ipow__
(
self
,
other
,
mod
):
def
__ipow__
(
self
,
other
):
# We must declare mod as an argument, but we must not touch it
# We must declare mod as an argument, but we must not touch it
# or we'll get a segfault. See #562
# or we'll get a segfault. See #562
print
"VS __ipow__ %d %d"
%
(
self
.
value
,
other
.
value
)
print
"VS __ipow__ %d %d"
%
(
self
.
value
,
other
.
value
)
...
...
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