diff options
author | R David Murray <rdmurray@bitdance.com> | 2013-11-03 18:21:38 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2013-11-03 18:21:38 (GMT) |
commit | 5fdb64b5a0a8567a232c2182f0c0439872c987e2 (patch) | |
tree | 6f31f22488b183aa2e3656ec85538e0d624433d4 /Modules | |
parent | 0de4d3e3eb348d9bfc6df1d7c0651b309306863c (diff) | |
download | cpython-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 'Modules')
-rw-r--r-- | Modules/binascii.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/binascii.c b/Modules/binascii.c index 340ec9c..a84badc7 100644 --- a/Modules/binascii.c +++ b/Modules/binascii.c @@ -1129,7 +1129,8 @@ binascii_hexlify(PyObject *self, PyObject *args) PyDoc_STRVAR(doc_hexlify, "b2a_hex(data) -> s; Hexadecimal representation of binary data.\n\ \n\ -This function is also available as \"hexlify()\"."); +The return value is a bytes object. This function is also\n\ +available as \"hexlify()\"."); static int |