Skip to content

Commit

Permalink
Remove unused _has_unicode/_str_cls vars
Browse files Browse the repository at this point in the history
Unused since 4f1c78c13bd54050b1d2d3baa9e86d9e79b3629.
  • Loading branch information
timgraham committed Dec 16, 2016
1 parent b13d6fc commit efa990f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions memcache.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]+$')

Expand Down

0 comments on commit efa990f

Please sign in to comment.