Skip to content

Commit 1736a9c

Browse files
committed
Merge pull request redis#181 from nicholasknight/master
Tiny documentation fixes.
2 parents d5fdb5f + 628d65d commit 1736a9c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Pipelines are quite simple to use:
171171
>>> r = redis.Redis(...)
172172
>>> r.set('bing', 'baz')
173173
>>> # Use the pipeline() method to create a pipeline instance
174-
>>> pipe = redis.pipeline()
174+
>>> pipe = r.pipeline()
175175
>>> # The following SET commands are buffered
176176
>>> pipe.set('foo', 'bar')
177177
>>> pipe.get('bing')

redis/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,8 +1510,8 @@ def __init__(self, redis, name, timeout=None, sleep=0.1):
15101510
holding the lock.
15111511
15121512
Note: If using ``timeout``, you should make sure all the hosts
1513-
that are running clients are within the same timezone and are using
1514-
a network time service like ntp.
1513+
that are running clients have their time synchronized with a network time
1514+
service like ntp.
15151515
"""
15161516
self.redis = redis
15171517
self.name = name

0 commit comments

Comments
 (0)