Commit c9752510 authored by gsamain's avatar gsamain

Cypclass multiple inheritance test: unittest docstring

parent d8a06e2a
# mode: run
# distutils: language=c++
# distutils: extra_compile_args=-std=c++11
# tag: cpp
cdef cypclass A:
int a
void __init__(self, int arg=0):
......@@ -25,6 +30,15 @@ cdef cypclass C(A,B):
self.a = self.b = arg
cpdef bag():
"""
>>> bag()
3
4
8
1
8
1
"""
a = A(3)
b = B(4)
c = C(5)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment