summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-08 19:43:46 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-08 19:43:46 (GMT)
commitbc332a2415884f6c199f9b016c9dd53459c06cef (patch)
treee8ff0646bfec5df23b3caefa2ca8f311c6bac87c /Doc
parent100580f4c4ac8b386a38134f4894e9a11871dcc0 (diff)
parentf24c1416eb609d7b4bfce2c0cfeb93a5192feb02 (diff)
downloadcpython-bc332a2415884f6c199f9b016c9dd53459c06cef.zip
cpython-bc332a2415884f6c199f9b016c9dd53459c06cef.tar.gz
cpython-bc332a2415884f6c199f9b016c9dd53459c06cef.tar.bz2
merge with 3.3
Diffstat (limited to 'Doc')
-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 ece035d..299115e 100644
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -356,7 +356,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.