diff options
author | R David Murray <rdmurray@bitdance.com> | 2013-11-03 13:21:38 -0500 |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2013-11-03 13:21:38 -0500 |
commit | 275bb6ee40e745c3c7be6a45794876d1ebd72e04 (patch) | |
tree | 00aa5c2a534209dad9fb5912ff2b08a3cf8ead60 /Modules/binascii.c | |
parent | 4c48355a463658f0adee294c5dfb3feb09980665 (diff) | |
download | cpython-275bb6ee40e745c3c7be6a45794876d1ebd72e04.tar.gz |
#19411: Clarify that b2a_hex/hexlify returns a bytes object.
Initial patch by Vajrasky Kok.
Diffstat (limited to 'Modules/binascii.c')
-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 340ec9c426..a84badc7c9 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 |