Message234353
The Argument Clinic conversion of the binascii module left hexlify and unhexlify with bad docstrings:
hexlify(...)
b2a_hex($module, data, /)
--
Hexadecimal representation of binary data.
The return value is a bytes object. This function is also
available as "hexlify()".
unhexlify(...)
a2b_hex($module, hexstr, /)
--
Binary data of hexadecimal representation.
hexstr must contain an even number of hex digits (upper or lower case).
This function is also available as "unhexlify()".
Attached patch fixes it, removes the note that the function is also available as itself (leaving the note on {a2b,b2a}_hex), and tests that the functions are in fact aliases. |
|
Date |
User |
Action |
Args |
2015-01-20 06:07:31 | zach.ware | set | recipients:
+ zach.ware, serhiy.storchaka |
2015-01-20 06:07:31 | zach.ware | set | messageid: <1421734051.68.0.00270883538381.issue23280@psf.upfronthosting.co.za> |
2015-01-20 06:07:31 | zach.ware | link | issue23280 messages |
2015-01-20 06:07:31 | zach.ware | create | |
|