Skip to content

Commit ca2759c

Browse files
committed
[cosmetic] removed a nearly-dupe comment from _execute_command
1 parent 9a4ee54 commit ca2759c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

redis/client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ def pipeline(self):
252252

253253
#### COMMAND EXECUTION AND PROTOCOL PARSING ####
254254
def _execute_command(self, command_name, command, **options):
255-
"Sends the command to the Redis server and returns it's response"
256255
subscription_command = command_name in self.SUBSCRIPTION_COMMANDS
257256
if self.subscribed and not subscription_command:
258257
raise RedisError("Cannot issue commands other than SUBSCRIBE and "
@@ -272,7 +271,7 @@ def _execute_command(self, command_name, command, **options):
272271
return response
273272

274273
def execute_command(self, *args, **options):
275-
"Sends command to redis server and returns response"
274+
"Sends the command to the redis server and returns it's response"
276275
cmd_count = len(args)
277276
cmds = []
278277
for i in args:

0 commit comments

Comments
 (0)