https://github.com/python/cpython/commit/b323d99ac946f5ef56b775014f890dde5480e941
commit: b323d99ac946f5ef56b775014f890dde5480e941
branch: 3.11
author: Miss Islington (bot) <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2024-01-27T08:52:37Z
summary:

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

(cherry picked from commit 23fb9f0777b054526b3b32f58e60b2a03132bf45)

Co-authored-by: Nikita Sobolev <[email protected]>

files:
M Doc/c-api/file.rst

diff --git a/Doc/c-api/file.rst b/Doc/c-api/file.rst
index 0a03841e467cad..d3a78c588454e8 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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to