Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Doc/library/ctypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1733,7 +1733,8 @@ See :ref:`ctypes-callback-functions` for examples.
.. function:: PYFUNCTYPE(restype, *argtypes)

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

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