Remove unused compat shim for 'bytes'#1195
Remove unused compat shim for 'bytes'#1195davidism merged 1 commit intopallets:masterfrom jdufresne:bytes
Conversation
Never used. Both Python 2.7 and Python 3 have the type bytes. On Python 2.7 it is an alias for str, same as what was previously defined.
|
Not a click author, but seems to me that it's unlikely that the point of that line was to be "useful", otherwise the next line ( I suspect instead that the point is to explicitly list each cross-compatible name that is to be made available. |
|
The next line https://docs.python.org/3/whatsnew/3.0.html#builtins
The This is not true of
Therefore, I still believe this is a cleanup of unused code. |
Never used. Both Python 2.7 and Python 3 have the type bytes. On Python
2.7 it is an alias for str, same as what was previously defined.