Ticket #355 (closed defect: fixed)
Bad ordering in [type ..., object ...] class declaration
| Reported by: | Joachim Saul | Owned by: | robertwb |
|---|---|---|---|
| Priority: | critical | Milestone: | 0.11.3 |
| Component: | Code Generation | Keywords: | |
| Cc: |
Description
#### _stypes.pxd ####
ctypedef public class Time [type MyTime_Type, object MyTimeObject]:
cdef public double seconds
ctypedef public class Event [type MyEvent_Type, object MyEventObject]:
cdef public Time time
#### _stypes.pyx ####
ctypedef public class Time [type MyTime_Type, object MyTimeObject]:
def __init__(self, seconds):
self.seconds = seconds
ctypedef public class Event [type MyEvent_Type, object MyEventObject]:
def __init__(self, Time time):
self.time = time
####
Change History
Note: See
TracTickets for help on using
tickets.
