summaryrefslogtreecommitdiffstats
path: root/Doc/library/base64.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-09-01 00:47:34 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-09-01 00:47:34 (GMT)
commit941afedd741b26c0e54c377e8b04f5eb6af823c9 (patch)
tree321bb0890ce737d54771db5735093e840265dcd3 /Doc/library/base64.rst
parent48e484fdde4295c755dd3d6df6d7f1633eb17f2b (diff)
downloadcpython-941afedd741b26c0e54c377e8b04f5eb6af823c9.zip
cpython-941afedd741b26c0e54c377e8b04f5eb6af823c9.tar.gz
cpython-941afedd741b26c0e54c377e8b04f5eb6af823c9.tar.bz2
Avoid using the default reST role. Makes Doc/tools/rstlint.py happy.
Diffstat (limited to 'Doc/library/base64.rst')
-rw-r--r--Doc/library/base64.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/base64.rst b/Doc/library/base64.rst
index 2401ae7..06f3ab1 100644
--- a/Doc/library/base64.rst
+++ b/Doc/library/base64.rst
@@ -45,8 +45,8 @@ The modern interface provides:
at least length 2 (additional characters are ignored) which specifies the
alternative alphabet used instead of the ``+`` and ``/`` characters.
- The decoded string is returned. A `binascii.Error` is raised if *s* is
- incorrectly padded.
+ The decoded string is returned. A :exc:`binascii.Error` exception is raised
+ if *s* is incorrectly padded.
If *validate* is ``False`` (the default), non-base64-alphabet characters are
discarded prior to the padding check. If *validate* is ``True``,