diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-02-22 20:57:02 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-22 20:57:02 -0800 |
| commit | 28d9353305e865f97216140c9d8db764563ac058 (patch) | |
| tree | 6bf1135d9858c7b45a950c9a4803a9b53567ab28 /Lib/urllib/request.py | |
| parent | 4955a9ed14c681ed835bc8902a9db0bcc728bdee (diff) | |
| download | cpython-git-28d9353305e865f97216140c9d8db764563ac058.tar.gz | |
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>
Diffstat (limited to 'Lib/urllib/request.py')
0 files changed, 0 insertions, 0 deletions
