diff options
author | Kirill Podoprigora <kirill.bast9@mail.ru> | 2023-07-02 01:46:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-01 18:46:06 -0400 |
commit | 0530f4f64629ff97f3feb7524da0833b9535e8b6 (patch) | |
tree | d09678bc0a0c06f6b20640d5372ae89dbd396059 /Python/import.c | |
parent | 46d77610fc77088bceac720a13d9f2df3a50f29e (diff) | |
download | cpython-0530f4f64629ff97f3feb7524da0833b9535e8b6.tar.gz cpython-0530f4f64629ff97f3feb7524da0833b9535e8b6.zip |
gh-102541: Fix Helper.help("mod") for non-existent mod (#105934)
If the output arg to Helper() is a stream rather than the default None, which means 'page to stdout', the ImportError from pydoc.resolve is currently not caught in pydoc.doc. The same error is caught when output is None.
---------
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions