Skip to content

Commit 5d7fd79

Browse files
committed
Fix several spelling mistakes
1 parent 1ef7f34 commit 5d7fd79

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

redis/asyncio/sentinel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ async def execute_command(self, *args, **kwargs):
227227
once = bool(kwargs.pop("once", False))
228228

229229
# Check if command is supposed to return the original
230-
# responces instead of boolean value.
230+
# responses instead of boolean value.
231231
return_responses = bool(kwargs.pop("return_responses", False))
232232

233233
if once:

redis/commands/sentinel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def sentinel_masters(self):
3232
3333
Important: This function is called by the Sentinel implementation and is
3434
called directly on the Redis standalone client for sentinels,
35-
so it doesn'tsupport the "once" and "return_responses" options.
35+
so it doesn't support the "once" and "return_responses" options.
3636
"""
3737
return self.execute_command("SENTINEL MASTERS")
3838

@@ -60,7 +60,7 @@ def sentinel_slaves(self, service_name):
6060
6161
Important: This function is called by the Sentinel implementation and is
6262
called directly on the Redis standalone client for sentinels,
63-
so it doesn'tsupport the "once" and "return_responses" options.
63+
so it doesn't support the "once" and "return_responses" options.
6464
"""
6565
return self.execute_command("SENTINEL SLAVES", service_name)
6666

redis/sentinel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def execute_command(self, *args, **kwargs):
258258
once = bool(kwargs.pop("once", False))
259259

260260
# Check if command is supposed to return the original
261-
# responces instead of boolean value.
261+
# responses instead of boolean value.
262262
return_responses = bool(kwargs.pop("return_responses", False))
263263

264264
if once:

0 commit comments

Comments
 (0)