[Checkins] SVN: z3c.caching/trunk/src/z3c/caching/interfaces.py Clarify that ICacheRule is an implementation detail
Martin Aspeli
optilude at gmx.net
Thu Dec 31 02:08:04 EST 2009
Log message for revision 107429:
Clarify that ICacheRule is an implementation detail
Changed:
U z3c.caching/trunk/src/z3c/caching/interfaces.py
-=-
Modified: z3c.caching/trunk/src/z3c/caching/interfaces.py
===================================================================
--- z3c.caching/trunk/src/z3c/caching/interfaces.py 2009-12-31 07:07:36 UTC (rev 107428)
+++ z3c.caching/trunk/src/z3c/caching/interfaces.py 2009-12-31 07:08:04 UTC (rev 107429)
@@ -1,11 +1,5 @@
from zope.interface import Interface, Attribute
-class ICacheRule(Interface):
- """Represents the cache rule applied to an object.
- """
-
- id = Attribute("The identifier of this cache rule")
-
class IRulesetRegistry(Interface):
def register(obj, rule):
@@ -97,3 +91,11 @@
def __call__():
"""Return the last-modified date, as a Python datetime object.
"""
+
+class ICacheRule(Interface):
+ """Represents the cache rule applied to an object.
+
+ This is strictly an implementation detail of IRulesetRegistry.
+ """
+
+ id = Attribute("The identifier of this cache rule")
More information about the checkins
mailing list