Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Contributors
* Etienne Desautels -- apidoc module
* Ezio Melotti -- collapsible sidebar JavaScript
* Filip Vavera -- napoleon todo directive
* Florian Best -- log improvements
* Glenn Matthews -- python domain signature improvements
* Gregory Szorc -- performance improvements
* Henrique Bastos -- SVG support for graphviz extension
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ Bugs fixed
Patch by Jean-François B.
* #13916: HTML Search: do not clear text fragments from the URL on page load.
Patch by Harmen Stoppels.
* #13944: autodoc: show traceback during import in human readable representation.
Patch by Florian Best.


Testing
Expand Down
2 changes: 1 addition & 1 deletion sphinx/ext/autodoc/_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def _import_from_module_and_path(
# _import_module() raises ImportError having real exception obj and
# traceback
real_exc = exc.args[0]
traceback_msg = traceback.format_exception(exc)
traceback_msg = ''.join(traceback.format_exception(exc))
if isinstance(real_exc, SystemExit):
err_parts.append(
'the module executes module level statement '
Expand Down
Loading