@@ -189,15 +189,15 @@ def replicaof(self, *args, **kwargs):
189189
190190 For more information see https://redis.io/commands/replicaof
191191 """
192- raise RedisClusterException ("REPLICAOF is not supported in cluster" " mode" )
192+ raise RedisClusterException ("REPLICAOF is not supported in cluster mode" )
193193
194194 def swapdb (self , * args , ** kwargs ):
195195 """
196196 Swaps two Redis databases.
197197
198198 For more information see https://redis.io/commands/swapdb
199199 """
200- raise RedisClusterException ("SWAPDB is not supported in cluster" " mode" )
200+ raise RedisClusterException ("SWAPDB is not supported in cluster mode" )
201201
202202
203203class ClusterDataAccessCommands (DataAccessCommands ):
@@ -310,7 +310,6 @@ class RedisClusterCommands(
310310 target specific nodes. By default, if target_nodes is not specified, the
311311 command will be executed on the default cluster node.
312312
313-
314313 :param :target_nodes: type can be one of the followings:
315314 - nodes flag: ALL_NODES, PRIMARIES, REPLICAS, RANDOM
316315 - 'ClusterNode'
@@ -323,7 +322,7 @@ class RedisClusterCommands(
323322
324323 def cluster_myid (self , target_node ):
325324 """
326- Returns the node’ s id.
325+ Returns the node' s id.
327326
328327 :target_node: 'ClusterNode'
329328 The node to execute the command on
0 commit comments