mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-93738: Documentation C syntax (:c:type: to :c:expr:, misc. cases) (#97775)
* :c:type: to :c:expr: * Update Doc/whatsnew/2.4.rst
This commit is contained in:
parent
192d401ba5
commit
6b3d4db02e
4 changed files with 7 additions and 7 deletions
|
@ -65,7 +65,7 @@ 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 :c:type:`PyObject *(\*)(PyObject *path,
|
||||
The handler is a function of type :c:expr:`PyObject *(\*)(PyObject *path,
|
||||
void *userData)`, where *path* is guaranteed to be :c:type:`PyUnicodeObject`.
|
||||
|
||||
The *userData* pointer is passed into the hook function. Since hook
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue