Skip to content

Commit

Permalink
Merge pull request #859 from hootnot/doc-fix
Browse files Browse the repository at this point in the history
REDIS_CALLBACKS should be RESPONSE_CALLBACKS
  • Loading branch information
andymccurdy committed Aug 1, 2017
2 parents 29a7ece + df97b89 commit 16b622a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ set_response_callback method. This method accepts two arguments: a command
name and the callback. Callbacks added in this manner are only valid on the
instance the callback is added to. If you want to define or override a callback
globally, you should make a subclass of the Redis client and add your callback
to its REDIS_CALLBACKS class dictionary.
to its RESPONSE_CALLBACKS class dictionary.

Response callbacks take at least one parameter: the response from the Redis
server. Keyword arguments may also be accepted in order to further control
Expand Down

0 comments on commit 16b622a

Please sign in to comment.