projects
/
cython.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merged pull request #12 from bhy/T423.
[cython.git]
/
tests
/
compile
/
ctypedef_public_class_T355.pyx
1
# ticket: 355
2
# mode: compile
3
4
ctypedef public class Time [type MyTime_Type, object MyTimeObject]:
5
def __init__(self, seconds):
6
self.seconds = seconds
7
8
ctypedef public class Event [type MyEvent_Type, object MyEventObject]:
9
def __init__(self, Time time):
10
self.time = time