@@ -1515,7 +1515,7 @@ def publish(self, channel, message):
1515
1515
1516
1516
def eval (self , script , numkeys , * keys_and_args ):
1517
1517
"""
1518
- Execute the LUA ``script``, specifying the ``numkeys`` the script
1518
+ Execute the Lua ``script``, specifying the ``numkeys`` the script
1519
1519
will touch and the key names and argument values in ``keys_and_args``.
1520
1520
Returns the result of the script.
1521
1521
@@ -1526,7 +1526,7 @@ def eval(self, script, numkeys, *keys_and_args):
1526
1526
1527
1527
def evalsha (self , sha , numkeys , * keys_and_args ):
1528
1528
"""
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
1530
1530
or SCRIPT LOAD. Specify the ``numkeys`` the script will touch and the
1531
1531
key names and argument values in ``keys_and_args``. Returns the result
1532
1532
of the script.
@@ -1551,21 +1551,21 @@ def script_flush(self):
1551
1551
return self .execute_command ('SCRIPT' , 'FLUSH' , ** options )
1552
1552
1553
1553
def script_kill (self ):
1554
- "Kill the currently executing LUA script"
1554
+ "Kill the currently executing Lua script"
1555
1555
options = {'parse' : 'KILL' }
1556
1556
return self .execute_command ('SCRIPT' , 'KILL' , ** options )
1557
1557
1558
1558
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."
1560
1560
options = {'parse' : 'LOAD' }
1561
1561
return self .execute_command ('SCRIPT' , 'LOAD' , script , ** options )
1562
1562
1563
1563
def register_script (self , script ):
1564
1564
"""
1565
- Register a LUA ``script`` specifying the ``keys`` it will touch.
1565
+ Register a Lua ``script`` specifying the ``keys`` it will touch.
1566
1566
Returns a Script object that is callable and hides the complexity of
1567
1567
deal with scripts, keys, and shas. This is the preferred way to work
1568
- with LUA scripts.
1568
+ with Lua scripts.
1569
1569
"""
1570
1570
return Script (self , script )
1571
1571
@@ -2096,7 +2096,7 @@ class Pipeline(BasePipeline, Redis):
2096
2096
2097
2097
2098
2098
class Script (object ):
2099
- "An executable LUA script object returned by ``register_script``"
2099
+ "An executable Lua script object returned by ``register_script``"
2100
2100
2101
2101
def __init__ (self , registered_client , script ):
2102
2102
self .registered_client = registered_client
0 commit comments