diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2024-01-27 08:45:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-27 08:45:07 (GMT) |
commit | 23fb9f0777b054526b3b32f58e60b2a03132bf45 (patch) | |
tree | efc35fb976bd3b34eca2c518bef007c748546fd6 /Doc/c-api | |
parent | 547c135d70760f974ed0476a32a6809e708bfe4d (diff) | |
download | cpython-23fb9f0777b054526b3b32f58e60b2a03132bf45.zip cpython-23fb9f0777b054526b3b32f58e60b2a03132bf45.tar.gz cpython-23fb9f0777b054526b3b32f58e60b2a03132bf45.tar.bz2 |
Fix `c-api/file.rst` indexes (GH-114608)
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/file.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/c-api/file.rst b/Doc/c-api/file.rst index 0a03841..d3a78c5 100644 --- a/Doc/c-api/file.rst +++ b/Doc/c-api/file.rst @@ -65,9 +65,10 @@ the :mod:`io` APIs instead. Overrides the normal behavior of :func:`io.open_code` to pass its parameter through the provided handler. - The handler is a function of type: + The *handler* is a function of type: - .. c:type:: Py_OpenCodeHookFunction + .. c:namespace:: NULL + .. c:type:: PyObject * (*Py_OpenCodeHookFunction)(PyObject *, void *) Equivalent of :c:expr:`PyObject *(\*)(PyObject *path, void *userData)`, where *path* is guaranteed to be |