summaryrefslogtreecommitdiff
path: root/memcache.py
diff options
context:
space:
mode:
authorSean Reifschneider <jafo@tummy.com>2016-12-17 09:03:22 -0700
committerSean Reifschneider <jafo@tummy.com>2016-12-17 09:03:22 -0700
commit5b75728565393d53768f4622fdd43e3e742c4741 (patch)
tree6c0e71776fc9be417d1a3fc604a5eeee436ae28f /memcache.py
parent1cab3004e3d8d11a5ef345e23cfe6d70b125e873 (diff)
downloadpython-memcached-5b75728565393d53768f4622fdd43e3e742c4741.tar.gz
#112 Cleaning up flake8 alerts
Diffstat (limited to 'memcache.py')
-rw-r--r--memcache.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/memcache.py b/memcache.py
index 9079a9d..3e6bd67 100644
--- a/memcache.py
+++ b/memcache.py
@@ -48,13 +48,13 @@ More detailed documentation is available in the L{Client} class.
from __future__ import print_function
import binascii
+from io import BytesIO
import re
import socket
import sys
import threading
import time
import zlib
-from io import BytesIO
import six
@@ -763,7 +763,8 @@ class Client(threading.local):
return self._set("cas", key, val, time, min_compress_len, noreply)
def _map_and_prefix_keys(self, key_iterable, key_prefix):
- """
+ """Map keys to the servers they will reside on.
+
Compute the mapping of server (_Host instance) -> list of keys to
stuff onto that server, as well as the mapping of prefixed key
-> original key.