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
Kirill Smelkov
cython
Commits
a8a6cd02
Commit
a8a6cd02
authored
May 16, 2009
by
Lisandro Dalcin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renaming in testcase, 'mutable' is a C++ keyword.
parent
57f327c1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tests/run/typedfieldbug_T303.pyx
tests/run/typedfieldbug_T303.pyx
+4
-4
No files found.
tests/run/typedfieldbug_T303.pyx
View file @
a8a6cd02
...
...
@@ -15,16 +15,16 @@ cdef class MyClass:
double
var_d
DoubleTypedef
var_nf
cdef
public
:
DoubleTypedef
mutable
DoubleTypedef
var_
mutable
def
__init__
(
self
):
self
.
var_d
=
42.0
self
.
var_nf
=
42.0
self
.
mutable
=
1
self
.
var_
mutable
=
1
def
f
():
c
=
MyClass
()
c
.
mutable
=
42.0
print
c
.
var_d
,
c
.
var_nf
,
c
.
mutable
c
.
var_
mutable
=
42.0
print
c
.
var_d
,
c
.
var_nf
,
c
.
var_
mutable
def
readonly
():
c
=
MyClass
()
...
...
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