8000 [3.11] Fix `c-api/file.rst` indexes (GH-114608) by miss-islington · Pull Request #114639 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.11] Fix c-api/file.rst indexes (GH-114608) #114639

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 27, 2024
Merged
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
Fix c-api/file.rst indexes (GH-114608)
(cherry picked from commit 23fb9f0)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
  • Loading branch information
sobolevn authored and miss-islington committed Jan 27, 2024
commit 87e2a1e499f8fc36bd916bed58d0f0a63e908f18
5 changes: 3 additions & 2 deletions Doc/c-api/file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
0