Skip to content

Commit f24c141

Browse files
committed
Fix wrong link.
1 parent 97f9623 commit f24c141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/exceptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ The following exceptions are the exceptions that are usually raised.
350350
if it has another type (such as a string), the object's value is printed and
351351
the exit status is one.
352352

353-
Instances have an attribute :attr:`code` which is set to the proposed exit
353+
Instances have an attribute :attr:`!code` which is set to the proposed exit
354354
status or error message (defaulting to ``None``). Also, this exception derives
355355
directly from :exc:`BaseException` and not :exc:`Exception`, since it is not
356356
technically an error.

0 commit comments

Comments
 (0)