Commit 96b73b35 authored by Stefan Behnel's avatar Stefan Behnel

test case from ticket 123

parent d9376736
__doc__ = u"""
>>> ret = repeat_iter()
>>> for s in ret:
... print s
a
a
b
b
c
c
"""
def repeat_iter():
cdef dict e
cdef unicode s
ret = []
e = {u"A": u"a", u"B": u"b", u"C": u"c"}
for s in e.itervalues():
ret.append(s)
for s in e.itervalues():
ret.append(s)
ret.sort()
return ret
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