projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57f327c
)
renaming in testcase, 'mutable' is a C++ keyword.
author
Lisandro Dalcin
<dalcinl@gmail.com>
Sat, 16 May 2009 23:28:44 +0000
(20:28 -0300)
committer
Lisandro Dalcin
<dalcinl@gmail.com>
Sat, 16 May 2009 23:28:44 +0000
(20:28 -0300)
tests/run/typedfieldbug_T303.pyx
patch
|
blob
|
history
diff --git
a/tests/run/typedfieldbug_T303.pyx
b/tests/run/typedfieldbug_T303.pyx
index 40245cb3708d1c805546b737efc2af8895106a10..d892b8ec5446473f5294a9ad61a2560aaec0d4c7 100644
(file)
--- a/
tests/run/typedfieldbug_T303.pyx
+++ b/
tests/run/typedfieldbug_T303.pyx
@@
-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()