]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] Minor fixes to C API docs (GH-31501) (GH-31526)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Wed, 2 Mar 2022 04:45:54 +0000 (20:45 -0800)
committerGitHub <noreply@github.com>
Wed, 2 Mar 2022 04:45:54 +0000 (20:45 -0800)
commit7190617b562eae44e961dd6cc8c3c139b48af303
tree604ef15dd8899a782842bd9c61f8386bc6b1055f
parentde2c91a89aa0e89d5d01d71697d0f27a9f60c11d
[3.9] Minor fixes to C API docs (GH-31501) (GH-31526)

* C API docs: move PyErr_SetImportErrorSubclass docs

It was in the section about warnings, but it makes more sense to
put it with PyErr_SetImportError.

* C API docs: document closeit argument to PyRun_AnyFileExFlags

It was already documented for PyRun_SimpleFileExFlags.

* textual fixes to unicode docs

* Move paragraph about tp_dealloc into tp_dealloc section

* __aiter__ returns an async iterator, not an awaitable.
(cherry picked from commit 43cf44ddcce6b225f959ea2a53e4817244ca6054)
Doc/c-api/exceptions.rst
Doc/c-api/typeobj.rst
Doc/c-api/unicode.rst
Doc/c-api/veryhigh.rst