Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8206961

Browse files
committed
Issue #27124: Merge binascii doc from 3.5
2 parents cb433a0 + 58dd764 commit 8206961

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/binascii.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ The :mod:`binascii` module defines the following functions:
152152

153153
Return the binary data represented by the hexadecimal string *hexstr*. This
154154
function is the inverse of :func:`b2a_hex`. *hexstr* must contain an even number
155-
of hexadecimal digits (which can be upper or lower case), otherwise a
156-
:exc:`TypeError` is raised.
155+
of hexadecimal digits (which can be upper or lower case), otherwise an
156+
:exc:`Error` exception is raised.
157157

158158

159159
.. exception:: Error

0 commit comments

Comments
 (0)