diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-28 09:50:57 -0500 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-28 09:50:57 -0500 |
commit | a87bd688d163308cc1af381f59fdbb4f4a818ce5 (patch) | |
tree | 71e9afd2e21f261804e084aab1284a22b36e3606 /redis/connection.py | |
parent | 4ae98e7de18f16fb669b74ee09245ff4de3da0b4 (diff) | |
download | redis-py-a87bd688d163308cc1af381f59fdbb4f4a818ce5.tar.gz |
Remove unnecessary compat shim for 'bytes'
Both Python 2.7 & Python 3 have the types bytes. On Python 2.7, it is an
alias for the type str, same as what was previously defined in
_compat.py.
Diffstat (limited to 'redis/connection.py')
-rwxr-xr-x | redis/connection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/connection.py b/redis/connection.py index 9b949c5..ea06241 100755 --- a/redis/connection.py +++ b/redis/connection.py @@ -14,7 +14,7 @@ try: except ImportError: ssl_available = False -from redis._compat import (xrange, imap, byte_to_chr, unicode, bytes, long, +from redis._compat import (xrange, imap, byte_to_chr, unicode, long, nativestr, basestring, iteritems, LifoQueue, Empty, Full, urlparse, parse_qs, recv, recv_into, select, unquote) |