summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-11-03 18:21:38 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-11-03 18:21:38 (GMT)
commit5fdb64b5a0a8567a232c2182f0c0439872c987e2 (patch)
tree6f31f22488b183aa2e3656ec85538e0d624433d4 /Doc/library
parent0de4d3e3eb348d9bfc6df1d7c0651b309306863c (diff)
downloadcpython-5fdb64b5a0a8567a232c2182f0c0439872c987e2.zip
cpython-5fdb64b5a0a8567a232c2182f0c0439872c987e2.tar.gz
cpython-5fdb64b5a0a8567a232c2182f0c0439872c987e2.tar.bz2
#19411: Clarify that b2a_hex/hexlify returns a bytes object.
Initial patch by Vajrasky Kok.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/binascii.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/binascii.rst b/Doc/library/binascii.rst
index 02ec5d8..c92a8e1 100644
--- a/Doc/library/binascii.rst
+++ b/Doc/library/binascii.rst
@@ -145,7 +145,7 @@ The :mod:`binascii` module defines the following functions:
Return the hexadecimal representation of the binary *data*. Every byte of
*data* is converted into the corresponding 2-digit hex representation. The
- resulting string is therefore twice as long as the length of *data*.
+ returned bytes object is therefore twice as long as the length of *data*.
.. function:: a2b_hex(hexstr)