Commit c695cb6f authored by gsamain's avatar gsamain

Cypclass test distutil & doctest: inheritance

parent 0b90954f
# mode: run
# distutils: language=c++
# distutils: extra_compile_args=-std=c++11
# tag: cpp
cdef cypclass SomeMemory:
int a
void __init__(self, int a):
......@@ -26,4 +31,10 @@ cpdef baz():
return o3.getter()
def bag():
"""
>>> bag()
14
9
2
"""
return str(foo()) + '\n' + str(bar()) + '\n' + str(baz())
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