summaryrefslogtreecommitdiff
path: root/docs/examples/userguide/extension_types/shrubbery.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/userguide/extension_types/shrubbery.pyx')
-rw-r--r--docs/examples/userguide/extension_types/shrubbery.pyx4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/examples/userguide/extension_types/shrubbery.pyx b/docs/examples/userguide/extension_types/shrubbery.pyx
index 780735c9d..b74dfbd1b 100644
--- a/docs/examples/userguide/extension_types/shrubbery.pyx
+++ b/docs/examples/userguide/extension_types/shrubbery.pyx
@@ -1,7 +1,9 @@
from __future__ import print_function
+
cdef class Shrubbery:
- cdef int width, height
+ cdef int width
+ cdef int height
def __init__(self, w, h):
self.width = w