8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
c-api/file.rst
1 parent 547c135 commit 23fb9f0Copy full SHA for 23fb9f0
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