Skip to content

Commit

Permalink
Correct typos in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zakj committed Nov 8, 2011
1 parent 415125e commit dc79eb8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ value from GET.

Enter the WATCH command. WATCH provides the ability to monitor one or more keys
prior to starting a transaction. If any of those keys change prior the
execution of that transaction, the entre transaction will be canceled and a
execution of that transaction, the entire transaction will be canceled and a
WatchError will be raised. To implement our own client-side INCR command, we
could do something like this:

Expand Down Expand Up @@ -234,10 +234,10 @@ could do something like this:
... continue

Note that, because the Pipeline must bind to a single connection for the
duration of a WATCH, care must be taken to ensure that he connection is
duration of a WATCH, care must be taken to ensure that the connection is
returned to the connection pool by calling the reset() method. If the
Pipeline is used as a context manager (as in the example above) reset()
will be called automatically. Of course you can do this the manual way as by
will be called automatically. Of course you can do this the manual way by
explicity calling reset():

>>> pipe = r.pipeline()
Expand Down

0 comments on commit dc79eb8

Please sign in to comment.