blob: b44e6f551e5788ba5291a2afda6a51d7cdfac648 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# cython: binding=True
# mode: run
# tag: cyfunction
cpdef int simple() nogil:
"""
>>> simple()
1
"""
return 1
cpdef int call_nogil():
"""
>>> call_nogil()
1
"""
with nogil:
return simple()
|