Commit 0b90954f authored by gsamain's avatar gsamain

Cypclass test distutil & doctest: opt args constructor

parent c6e6d3a2
# mode: run
# distutils: language=c++
# distutils: extra_compile_args=-std=c++11
# tag: cpp
cdef cypclass SomeMemory:
int a
void __init__(self, int a, int b=1):
......@@ -12,4 +17,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