From: Georg Brandl Date: Tue, 8 Oct 2013 19:43:39 +0000 (+0200) Subject: Fix wrong link. X-Git-Tag: v2.7.6rc1~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3e4c9afe403f6857c61d901955c4fed4efcdaa2;p=python Fix wrong link. --- diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst index c12e874a39..ad75ed5fe0 100644 --- a/Doc/library/exceptions.rst +++ b/Doc/library/exceptions.rst @@ -346,7 +346,7 @@ The following exceptions are the exceptions that are actually raised. it has another type (such as a string), the object's value is printed and the exit status is one. - Instances have an attribute :attr:`code` which is set to the proposed exit + Instances have an attribute :attr:`!code` which is set to the proposed exit status or error message (defaulting to ``None``). Also, this exception derives directly from :exc:`BaseException` and not :exc:`StandardError`, since it is not technically an error.