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 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]+$') |
