Skip to content

Commit 731aa07

Browse files
smheidrichwebknjaz
andcommitted
Cross-reference ModuleNotFoundError properly
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
1 parent e0e790e commit 731aa07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/guides/handling-missing-extras-at-runtime.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Handling missing optional dependencies ("extras") at runtime
66

77
If your package has :ref:`optional dependencies ("extras")
88
<metadata_provides_extra>` which the package consumer hasn't installed, the
9-
default outcome is an ordinary ``ModuleNotFoundError`` exception being raised
9+
default outcome is an ordinary :exc:`ModuleNotFoundError` exception being raised
1010
at the first attempted import of a missing module.
1111

1212
This can make for a bad user experience, because there is no guidance about why

0 commit comments

Comments
 (0)