summaryrefslogtreecommitdiffstats
path: root/Doc/library/exceptions.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-08 19:43:39 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-08 19:43:39 (GMT)
commitf24c1416eb609d7b4bfce2c0cfeb93a5192feb02 (patch)
treec0e2c7773f3cc871226585bc5bbe2f57428d6b67 /Doc/library/exceptions.rst
parent97f962339f01cc1d17ac77893f20db3a457bb6b9 (diff)
downloadcpython-f24c1416eb609d7b4bfce2c0cfeb93a5192feb02.zip
cpython-f24c1416eb609d7b4bfce2c0cfeb93a5192feb02.tar.gz
cpython-f24c1416eb609d7b4bfce2c0cfeb93a5192feb02.tar.bz2
Fix wrong link.
Diffstat (limited to 'Doc/library/exceptions.rst')
-rw-r--r--Doc/library/exceptions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index 9595221..2672cf2 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.