Skip to content

Commit f46d13c

Browse files
committed
Update ctypes.rst
1 parent 03f7839 commit f46d13c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/ctypes.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1733,7 +1733,8 @@ See :ref:`ctypes-callback-functions` for examples.
17331733
.. function:: PYFUNCTYPE(restype, *argtypes)
17341734

17351735
The returned function prototype creates functions that use the Python calling
1736-
convention. The function will *not* release the GIL during the call.
1736+
convention. The function will acquire the GIL and use it like normal python
1737+
code during the call.
17371738

17381739
Function prototypes created by these factory functions can be instantiated in
17391740
different ways, depending on the type and number of the parameters in the call:

0 commit comments

Comments
 (0)