blob: 9d2a5481a0ad74f765bc70053994a8b4a5b3bc14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
from __future__ import print_function
cdef class Shrubbery:
cdef int width, height
def __init__(self, w, h):
self.width = w
self.height = h
def describe(self):
print("This shrubbery is", self.width,
"by", self.height, "cubits.")
|