log
graph
tags
changeset
browse
file
diff
annotate
file log
raw
Cython has moved to
github
.
cython
view tests/compile/indices.pyx @ 724:4e4808271bdf
find changesets by author, revision, files, or words in the commit message
Bump version number.
author
Robert Bradshaw <robertwb@math.washington.edu>
date
Thu Jun 12 16:53:51 2008 -0700 (3 years ago)
parents
children
line source
1
cdef int* a
2
cdef object x
3
4
cdef int f(int i):
5
print i
6
return i
7
8
x[f(1)] = 3
9
a[f(1)] = 3
10
11
x[f(2)] += 4
12
a[f(2)] += 4
13
14
print x[1]
15
print a[1]
16
17
x[<object>f(1)] = 15