summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authorChayim <chayim@users.noreply.github.com>2021-12-30 12:52:11 +0200
committerGitHub <noreply@github.com>2021-12-30 12:52:11 +0200
commitbc3dbb45d7236f96d614c33684a94f3e0fd9ac4a (patch)
tree5da61d39c34e3ad558be7c78c9f54c185084968e /redis/client.py
parentdeaaa536568e50b6ce958de0dd6306392e98f13e (diff)
downloadredis-py-bc3dbb45d7236f96d614c33684a94f3e0fd9ac4a.tar.gz
Documentation cleanup (#1841)
Diffstat (limited to 'redis/client.py')
-rwxr-xr-xredis/client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/redis/client.py b/redis/client.py
index 0984a7c..490b06d 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -832,6 +832,7 @@ class Redis(RedisModuleCommands, CoreCommands, SentinelCommands):
There are several ways to specify a database number. The first value
found will be used:
+
1. A ``db`` querystring option, e.g. redis://localhost?db=0
2. If using the redis:// or rediss:// schemes, the path argument
of the url, e.g. redis://localhost/0