Commit 5ac203b1 authored by Vincent Pelletier's avatar Vincent Pelletier

Document zope process lifetime caching.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9397 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ec15ae17
...@@ -77,7 +77,8 @@ class CachingMethod: ...@@ -77,7 +77,8 @@ class CachingMethod:
""" """
callable_object must be callable. callable_object must be callable.
id is used to identify what call should be treated as the same call. id is used to identify what call should be treated as the same call.
cache_duration is specified in seconds. cache_duration is specified in seconds, None to last untill zope process
is stopped.
""" """
if not callable(callable_object): if not callable(callable_object):
raise CachedMethodError, "callable_object %s is not callable" % str(callable_object) raise CachedMethodError, "callable_object %s is not callable" % str(callable_object)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment