diff options
author | andy <andy@whiskeymedia.com> | 2012-08-15 23:56:27 -0700 |
---|---|---|
committer | andy <andy@whiskeymedia.com> | 2012-08-15 23:56:27 -0700 |
commit | fd82c5d6cdcc2596b6cf5a0e053658b4c78ee867 (patch) | |
tree | a913c8af4838c9bf67877d181517e934b0953b7d /redis/client.py | |
parent | 2eafadd664fcb5dda0ae9179bd7ca8c422433c10 (diff) | |
download | redis-py-fd82c5d6cdcc2596b6cf5a0e053658b4c78ee867.tar.gz |
make sure tests pass on redis 2.4. merges #271
Diffstat (limited to 'redis/client.py')
-rw-r--r-- | redis/client.py | 6 |
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): |