Commit 7f3c9e02 authored by gsamain's avatar gsamain

Cypclass test distutil & doctest: type inference

parent 5e0f12da
# mode: run
# distutils: language=c++
# distutils: extra_compile_args=-std=c++11
# tag: cpp
cdef cypclass SomeMemory:
int a
......@@ -17,6 +22,12 @@ cdef cypclass SomeSubMemory(SomeMemory):
int b
cpdef bag():
"""
>>> bag()
28
4
7
"""
o1 = SomeMemory()
o2 = SomeMemory(4)
o3 = SomeSubMemory(3)
......
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