Skip to content

Commit 271da6e

Browse files
committed
proper casing of "Lua" in comments
1 parent 08d1a55 commit 271da6e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

redis/client.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,7 @@ def publish(self, channel, message):
15151515

15161516
def eval(self, script, numkeys, *keys_and_args):
15171517
"""
1518-
Execute the LUA ``script``, specifying the ``numkeys`` the script
1518+
Execute the Lua ``script``, specifying the ``numkeys`` the script
15191519
will touch and the key names and argument values in ``keys_and_args``.
15201520
Returns the result of the script.
15211521
@@ -1526,7 +1526,7 @@ def eval(self, script, numkeys, *keys_and_args):
15261526

15271527
def evalsha(self, sha, numkeys, *keys_and_args):
15281528
"""
1529-
Use the ``sha`` to execute a LUA script already registered via EVAL
1529+
Use the ``sha`` to execute a Lua script already registered via EVAL
15301530
or SCRIPT LOAD. Specify the ``numkeys`` the script will touch and the
15311531
key names and argument values in ``keys_and_args``. Returns the result
15321532
of the script.
@@ -1551,21 +1551,21 @@ def script_flush(self):
15511551
return self.execute_command('SCRIPT', 'FLUSH', **options)
15521552

15531553
def script_kill(self):
1554-
"Kill the currently executing LUA script"
1554+
"Kill the currently executing Lua script"
15551555
options = {'parse': 'KILL'}
15561556
return self.execute_command('SCRIPT', 'KILL', **options)
15571557

15581558
def script_load(self, script):
1559-
"Load a LUA ``script`` into the script cache. Returns the SHA."
1559+
"Load a Lua ``script`` into the script cache. Returns the SHA."
15601560
options = {'parse': 'LOAD'}
15611561
return self.execute_command('SCRIPT', 'LOAD', script, **options)
15621562

15631563
def register_script(self, script):
15641564
"""
1565-
Register a LUA ``script`` specifying the ``keys`` it will touch.
1565+
Register a Lua ``script`` specifying the ``keys`` it will touch.
15661566
Returns a Script object that is callable and hides the complexity of
15671567
deal with scripts, keys, and shas. This is the preferred way to work
1568-
with LUA scripts.
1568+
with Lua scripts.
15691569
"""
15701570
return Script(self, script)
15711571

@@ -2096,7 +2096,7 @@ class Pipeline(BasePipeline, Redis):
20962096

20972097

20982098
class Script(object):
2099-
"An executable LUA script object returned by ``register_script``"
2099+
"An executable Lua script object returned by ``register_script``"
21002100

21012101
def __init__(self, registered_client, script):
21022102
self.registered_client = registered_client

0 commit comments

Comments
 (0)