projects
/
cython.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
more tests from Pyrex
[cython.git]
/
tests
/
broken
/
r_extinherit.pyx
1
cdef class Parrot:
2
3
cdef object plumage
4
5
def __init__(self):
6
self.plumage = "yellow"
7
8
def describe(self):
9
print "This bird has lovely", self.plumage, "plumage."
10
11
12
cdef class Norwegian(Parrot):
13
14
def __init__(self):
15
self.plumage = "blue"
16