[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/DependencyFramework - IDependable.py:1.2.4.2
Jim Fulton
jim@zope.com
Tue, 22 Oct 2002 10:10:36 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/DependencyFramework
In directory cvs.zope.org:/tmp/cvs-serv23498
Modified Files:
Tag: Zope3-Bangalore-TTW-Branch
IDependable.py
Log Message:
Fixed up the doc strings a bit in response to some comments in the
proposal.
=== Zope3/lib/python/Zope/App/DependencyFramework/IDependable.py 1.2.4.1 => 1.2.4.2 ===
--- Zope3/lib/python/Zope/App/DependencyFramework/IDependable.py:1.2.4.1 Mon Oct 21 11:33:09 2002
+++ Zope3/lib/python/Zope/App/DependencyFramework/IDependable.py Tue Oct 22 10:10:35 2002
@@ -18,20 +18,23 @@
from Interface import Interface
class IDependable(Interface):
- """Objects that can have dependencies
+ """Objects that other objects depend on.
+
+ Note that IDependable will normally be implemented by an adapter.
"""
def addDependent(location):
"""Add a dependency to a dependent object by location
- The location is the physical path to the object.
+ The location is the physical path to the dependent object.
"""
def removeDependent(location):
"""Remove a dependency with a dependent object by location.
- The location is the physical path to the object.
+ The location is the physical path to the dependent object.
"""
def dependents():
"""Return a sequence of dependent object locations.
"""
+
__doc__ = IDependable.__doc__ + __doc__