projects
/
cython.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove trailing whitespace.
[cython.git]
/
tests
/
run
/
pinard5.pyx
1
cdef class Tri:
2
def test(self):
3
return 1
4
5
cdef class Curseur:
6
cdef Tri tri
7
def detail(self):
8
return produire_fiches(self.tri)
9
10
cdef produire_fiches(Tri tri):
11
return tri.test()
12
13
def test():
14
"""
15
>>> test()
16
1
17
"""
18
cdef Curseur c
19
c = Curseur()
20
c.tri = Tri()
21
return c.detail()