summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/client.py')
-rw-r--r--redis/client.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/redis/client.py b/redis/client.py
index 74a040a..d475ae3 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -373,8 +373,10 @@ class StrictRedis(object):
return self.execute_command('DBSIZE')
def time(self):
- """Returns the server time in (seconds since epoch, microseconds
- into this second)."""
+ """
+ Returns the server time as a 2-item tuple of ints:
+ (seconds since epoch, microseconds into this second).
+ """
return self.execute_command('TIME')
def debug_object(self, key):