summaryrefslogtreecommitdiff
path: root/tests/compile/docstrings.pyx
blob: 378b0af51ce9f44a36836117c3dc09248b3f80ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# mode: compile

"Welcome to the parrot module. It is currently resting."

def zap(polly, volts):
    "Wake up polly."

class Parrot:
    "Standard Norwegian Blue."

    def admire_plumage(self):
        "Lovely, ain't it?"

cdef class SuperParrot:
    "Special high-performance model."