diff -r ed4eec682199 Doc/library/binascii.rst --- a/Doc/library/binascii.rst Wed May 25 11:26:07 2016 -0700 +++ b/Doc/library/binascii.rst Wed May 25 22:46:48 2016 -0400 @@ -152,8 +152,8 @@ 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