We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
c-api/file.rst
1 parent a67a392 commit f9cce95Copy full SHA for f9cce95
Doc/c-api/file.rst
@@ -65,9 +65,10 @@ the :mod:`io` APIs instead.
65
Overrides the normal behavior of :func:`io.open_code` to pass its parameter
66
through the provided handler.
67
68
- The handler is a function of type:
+ The *handler* is a function of type:
69
70
- .. c:type:: Py_OpenCodeHookFunction
+ .. c:namespace:: NULL
71
+ .. c:type:: PyObject * (*Py_OpenCodeHookFunction)(PyObject *, void *)
72
73
Equivalent of :c:expr:`PyObject *(\*)(PyObject *path,
74
void *userData)`, where *path* is guaranteed to be
0 commit comments