diff options
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 69c4973..4fb9b8c 100644 --- a/memcache.py +++ b/memcache.py @@ -76,17 +76,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]+$') |
