mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix c-api/file.rst
indexes (GH-114608)
This commit is contained in:
parent
547c135d70
commit
23fb9f0777
1 changed files with 3 additions and 2 deletions
|
@ -65,9 +65,10 @@ the :mod:`io` APIs instead.
|
||||||
Overrides the normal behavior of :func:`io.open_code` to pass its parameter
|
Overrides the normal behavior of :func:`io.open_code` to pass its parameter
|
||||||
through the provided handler.
|
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,
|
Equivalent of :c:expr:`PyObject *(\*)(PyObject *path,
|
||||||
void *userData)`, where *path* is guaranteed to be
|
void *userData)`, where *path* is guaranteed to be
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue