]> granicus.if.org Git - python/commitdiff
Fix wrong link.
authorGeorg Brandl <georg@python.org>
Tue, 8 Oct 2013 19:43:39 +0000 (21:43 +0200)
committerGeorg Brandl <georg@python.org>
Tue, 8 Oct 2013 19:43:39 +0000 (21:43 +0200)
Doc/library/exceptions.rst

index 9595221bff3acf9b0659bbc54b04882d716e5df4..2672cf2a587653302118ba6fa9548a7b337b6cee 100644 (file)
@@ -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.