@@ -163,7 +163,7 @@ def __init__(self, servers, debug=0, pickleProtocol=0,
163163 server_max_key_length = SERVER_MAX_KEY_LENGTH ,
164164 server_max_value_length = SERVER_MAX_VALUE_LENGTH ,
165165 dead_retry = _DEAD_RETRY , socket_timeout = _SOCKET_TIMEOUT ,
166- cache_cas = False , flush_on_reconnect = 0 , check_key = True ):
166+ cache_cas = False , flush_on_reconnect = 0 , check_keys = True ):
167167 """
168168 Create a new Client object with the given list of servers.
169169
@@ -196,7 +196,7 @@ def __init__(self, servers, debug=0, pickleProtocol=0,
196196 back, those keys will map to it again. If it still has its data, get()s
197197 can read stale data that was overwritten on another server. This flag
198198 is off by default for backwards compatibility.
199- @param check_key : (default True) If True, the key is checked to
199+ @param check_keys : (default True) If True, the key is checked to
200200 ensure it is the correct length and composed of the right characters.
201201 """
202202 local .__init__ (self )
@@ -208,7 +208,7 @@ def __init__(self, servers, debug=0, pickleProtocol=0,
208208 self .stats = {}
209209 self .cache_cas = cache_cas
210210 self .reset_cas ()
211- self .do_check_key = check_key
211+ self .do_check_key = check_keys
212212
213213 # Allow users to modify pickling/unpickling behavior
214214 self .pickleProtocol = pickleProtocol
0 commit comments