Closes Issue #71

This commit is contained in:
Amr Hassan 2011-09-30 23:02:43 +02:00
parent 6508bc132a
commit 240483d72f
3 changed files with 7 additions and 3 deletions

View file

@ -352,8 +352,6 @@ class _Network(object):
def enable_caching(self, file_path = None):
"""Enables caching request-wide for all cachable calls.
In choosing the backend used for caching, it will try _SqliteCacheBackend first if
the module sqlite3 is present. If not, it will fallback to _ShelfCacheBackend which uses shelve.Shelf objects.
* file_path: A file path for the backend storage file. If
None set, a temp file would probably be created, according the backend.