summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2013-11-26 22:03:10 -0800
committerAndy McCurdy <andy@andymccurdy.com>2013-11-26 22:03:10 -0800
commit271da6e8851d96f79ff2efb2313ba54672a78d50 (patch)
treede2b66f9c4f7629ff5999beb9a4ebea12b0d9db3
parent08d1a55ae8c850b2dd759f62ad578b8538d77fa8 (diff)
downloadredis-py-271da6e8851d96f79ff2efb2313ba54672a78d50.tar.gz
proper casing of "Lua" in comments
-rw-r--r--redis/client.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/redis/client.py b/redis/client.py
index 79a2a54..1c702fd 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -1515,7 +1515,7 @@ class StrictRedis(object):
def eval(self, script, numkeys, *keys_and_args):
"""
- Execute the LUA ``script``, specifying the ``numkeys`` the script
+ Execute the Lua ``script``, specifying the ``numkeys`` the script
will touch and the key names and argument values in ``keys_and_args``.
Returns the result of the script.
@@ -1526,7 +1526,7 @@ class StrictRedis(object):
def evalsha(self, sha, numkeys, *keys_and_args):
"""
- Use the ``sha`` to execute a LUA script already registered via EVAL
+ Use the ``sha`` to execute a Lua script already registered via EVAL
or SCRIPT LOAD. Specify the ``numkeys`` the script will touch and the
key names and argument values in ``keys_and_args``. Returns the result
of the script.
@@ -1551,21 +1551,21 @@ class StrictRedis(object):
return self.execute_command('SCRIPT', 'FLUSH', **options)
def script_kill(self):
- "Kill the currently executing LUA script"
+ "Kill the currently executing Lua script"
options = {'parse': 'KILL'}
return self.execute_command('SCRIPT', 'KILL', **options)
def script_load(self, script):
- "Load a LUA ``script`` into the script cache. Returns the SHA."
+ "Load a Lua ``script`` into the script cache. Returns the SHA."
options = {'parse': 'LOAD'}
return self.execute_command('SCRIPT', 'LOAD', script, **options)
def register_script(self, script):
"""
- Register a LUA ``script`` specifying the ``keys`` it will touch.
+ Register a Lua ``script`` specifying the ``keys`` it will touch.
Returns a Script object that is callable and hides the complexity of
deal with scripts, keys, and shas. This is the preferred way to work
- with LUA scripts.
+ with Lua scripts.
"""
return Script(self, script)
@@ -2096,7 +2096,7 @@ class Pipeline(BasePipeline, Redis):
class Script(object):
- "An executable LUA script object returned by ``register_script``"
+ "An executable Lua script object returned by ``register_script``"
def __init__(self, registered_client, script):
self.registered_client = registered_client