[docs] [issue16724] Rename `data` argument names to `bytes`
anatoly techtonik
report at bugs.python.org
Wed Dec 19 16:51:41 CET 2012
anatoly techtonik added the comment:
In Python 2 there was no 'binary data' type - everything was a string. Now we have string, str, bytearray, array, list of ints. If hexlify is not accepting anything except bytes, it is better be explicit.
When porting code from Python 2 the argument was passed as a string with escapes inside, so it took some time to figure out why it didn't work in Py3k (actually it took a lot of time, because the research path turned wrong way at this point).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16724>
_______________________________________
More information about the docs
mailing list