Commit 253ff08e authored by gsamain's avatar gsamain

Cypclass test distutil & doctest: constructor

parent 849bbd29
# mode: run
# distutils: language=c++
# distutils: extra_compile_args=-std=c++11
# tag: cpp
cdef cypclass SomeMemory:
int a
void __init__(self, int a):
......@@ -14,4 +19,9 @@ cpdef bar():
return o2.a
def bag():
"""
>>> bag()
3
14
"""
return str(foo()) + '\n' + str(bar())
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