Commit 8352b902 authored by Stefan Behnel's avatar Stefan Behnel

extend test

parent f2ebcaf5
......@@ -39,6 +39,13 @@ def typed():
cdef A obj
print [obj for obj in [A(), A(), A()]]
def inferred_type():
"""
>>> inferred_type()
['A', 'A', 'A']
"""
print [cython.typeof(obj) for obj in [A(), A(), A()]]
def iterdict():
"""
>>> iterdict()
......
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