commit | 0530f4f64629ff97f3feb7524da0833b9535e8b6 | [log] [tgz] |
---|---|---|
author | Kirill Podoprigora <kirill.bast9@mail.ru> | Sun Jul 02 01:46:06 2023 +0300 |
committer | GitHub <noreply@github.com> | Sat Jul 01 18:46:06 2023 -0400 |
tree | d09678bc0a0c06f6b20640d5372ae89dbd396059 | |
parent | 46d77610fc77088bceac720a13d9f2df3a50f29e [diff] |
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>