Skip to content
Myr

Remove unused compat shim for 'bytes'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

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.

authored by Jon Dufresne · committed by David Lord · parent be24463 · Browse files · 1 file+0 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−1 removed

  • other:+0 added−1 removed

1 file+0 added−1 removed

modified:click/_compat.py-1 removed
153 unmodified lines
154155156if PY2:157 text_type = unicode158 bytes = str158 raw_input = raw_input159 string_types = (str, unicode)160 int_types = (int, long)161 iteritems = lambda x: x.iteritems()
541 unmodified lines