From: Georg Brandl Date: Tue, 8 Oct 2013 19:43:39 +0000 (+0200) Subject: Fix wrong link. X-Git-Tag: v3.4.0a4~208^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f24c1416eb609d7b4bfce2c0cfeb93a5192feb02;p=thirdparty%2FPython%2Fcpython.git Fix wrong link. --- diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst index 9595221bff3a..2672cf2a5876 100644 --- a/Doc/library/exceptions.rst +++ b/Doc/library/exceptions.rst @@ -350,7 +350,7 @@ The following exceptions are the exceptions that are usually raised. if 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:`Exception`, since it is not technically an error.