mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Fix several C-API doc typos caught by tomo cocoa on docs@.
The signature and description of PyException_SetCause now use "cause" rather than "ctx" to match the code.
This commit is contained in:
parent
5ea5d2c3f7
commit
7bbd101bb1
3 changed files with 8 additions and 9 deletions
|
|
@ -113,7 +113,7 @@ There are only a few functions special to module objects.
|
|||
|
||||
Return a pointer to the :c:type:`PyModuleDef` struct from which the module was
|
||||
created, or *NULL* if the module wasn't created with
|
||||
:c:func:`PyModule_Create`.i
|
||||
:c:func:`PyModule_Create`.
|
||||
|
||||
.. c:function:: PyObject* PyState_FindModule(PyModuleDef *def)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue