summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-05-29 00:48:54 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-05-29 00:48:54 +0000
commit34b7f3f47f38a2d2654617d11511e67038432132 (patch)
tree45788bacec0370680a224f390084cb682fd4fa39 /Doc
parentff6f2878d668d578aee861f39e1d48fedcd9de71 (diff)
downloadcpython-34b7f3f47f38a2d2654617d11511e67038432132.tar.gz
Issue #27124: Fix documentation of exception raised by a2b_hex()
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/binascii.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/binascii.rst b/Doc/library/binascii.rst
index 259680f220..1752c63929 100644
--- a/Doc/library/binascii.rst
+++ b/Doc/library/binascii.rst
@@ -151,8 +151,8 @@ The :mod:`binascii` module defines the following functions:
Return the binary data represented by the hexadecimal string *hexstr*. This
function is the inverse of :func:`b2a_hex`. *hexstr* must contain an even number
- of hexadecimal digits (which can be upper or lower case), otherwise a
- :exc:`TypeError` is raised.
+ of hexadecimal digits (which can be upper or lower case), otherwise an
+ :exc:`Error` exception is raised.
.. exception:: Error