diff options
author | Tim Graham <timograham@gmail.com> | 2016-12-16 07:10:46 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-12-16 07:20:21 -0500 |
commit | f34f9d233cb16615ff40703d27dfd945663e2358 (patch) | |
tree | 03d8b9fea22faa6629f2797b4c9cd8f3ed25c755 /memcache.py | |
parent | b13d6fcb7164a0c25c1798fcd409bf775a9005b3 (diff) | |
download | python-memcached-f34f9d233cb16615ff40703d27dfd945663e2358.tar.gz |
Remove unused _has_unicode/_str_cls vars
Unused since 04f1c78c13bd54050b1d2d3baa9e86d9e79b3629.
Diffstat (limited to 'memcache.py')
-rw-r--r-- | memcache.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/memcache.py b/memcache.py index 9823a2f..959cd29 100644 --- a/memcache.py +++ b/memcache.py @@ -78,17 +78,6 @@ def useOldServerHashFunction(): serverHashFunction = binascii.crc32 from io import BytesIO -if six.PY2: - try: - unicode - except NameError: - _has_unicode = False - else: - _has_unicode = True -else: - _has_unicode = True - -_str_cls = six.string_types valid_key_chars_re = re.compile(b'[\x21-\x7e\x80-\xff]+$') |