Skip to content

Commit b243b86

Browse files
committed
readme and doc fixes
1 parent 4ecb0c8 commit b243b86

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ Cachier supports a generic SQL backend via SQLAlchemy, allowing you to use SQLit
401401
return x * 2
402402
403403
Redis Core
404-
---------
404+
----------
405405

406406
**Note:** The Redis core requires the redis package to be installed. It is not installed by default with cachier. To use the Redis backend, run::
407407

src/cachier/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ def cachier(
141141
backend : str, optional
142142
The name of the backend to use. Valid options currently include
143143
'pickle', 'mongo', 'memory', 'sql', and 'redis'. If not provided,
144-
defaults to 'pickle' unless the 'mongetter' argument is passed,
145-
in which case the mongo backend is automatically selected.
144+
defaults to 'pickle', unless a core-associated parameter is provided
145+
146146
mongetter : callable, optional
147147
A callable that takes no arguments and returns a pymongo.Collection
148148
object with writing permissions. If unset a local pickle cache is used

0 commit comments

Comments
 (0)