Commit 776b0553 authored by Stefan Behnel's avatar Stefan Behnel

Merge branch '0.27.x'

parents 4be91ce6 544a92e1
......@@ -41,11 +41,10 @@ class TypedMethod():
"""
>>> t = TypedMethod()
>>> t.meth()
0.0
97
"""
def meth(self):
from array import array
x = array('d', [0.0])
x = bytearray(b'abcdefg')
return x[0]
......@@ -91,7 +90,7 @@ cdef class ExtTypeAttributes:
cdef class TypedMethod:
@cython.locals(x='double[:]')
@cython.locals(x='char[:]')
cpdef meth(self)
......
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