]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Minor fixes to C API docs (GH-31501)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 23 Feb 2022 04:57:02 +0000 (20:57 -0800)
committerGitHub <noreply@github.com>
Wed, 23 Feb 2022 04:57:02 +0000 (20:57 -0800)
commit28d9353305e865f97216140c9d8db764563ac058
tree6bf1135d9858c7b45a950c9a4803a9b53567ab28
parent4955a9ed14c681ed835bc8902a9db0bcc728bdee
Minor fixes to C API docs (GH-31501)

* 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)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Doc/c-api/exceptions.rst
Doc/c-api/typeobj.rst
Doc/c-api/unicode.rst
Doc/c-api/veryhigh.rst