mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #27124: Fix documentation of exception raised by a2b_hex()
This commit is contained in:
parent
2c71e0bdcc
commit
58dd7648de
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue