Skip to content

Commit f9cce95

Browse files
authored
[3.12] Fix c-api/file.rst indexes (GH-114608) (#124786)
(cherry picked from commit 23fb9f0)
1 parent a67a392 commit f9cce95

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/c-api/file.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,10 @@ the :mod:`io` APIs instead.
6565
Overrides the normal behavior of :func:`io.open_code` to pass its parameter
6666
through the provided handler.
6767
68-
The handler is a function of type:
68+
The *handler* is a function of type:
6969
70-
.. c:type:: Py_OpenCodeHookFunction
70+
.. c:namespace:: NULL
71+
.. c:type:: PyObject * (*Py_OpenCodeHookFunction)(PyObject *, void *)
7172
7273
Equivalent of :c:expr:`PyObject *(\*)(PyObject *path,
7374
void *userData)`, where *path* is guaranteed to be

0 commit comments

Comments
 (0)