[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - package.py:1.3

Jeremy Hylton jeremy@zope.com
Mon, 30 Dec 2002 15:07:20 -0500


Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv7851

Modified Files:
	package.py 
Log Message:
Cleanup interfaces and revise IPackages docstring.


=== Zope3/src/zope/app/interfaces/services/package.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/interfaces/services/package.py:1.2	Wed Dec 25 09:13:02 2002
+++ Zope3/src/zope/app/interfaces/services/package.py	Mon Dec 30 15:07:20 2002
@@ -11,46 +11,29 @@
 # FOR A PARTICULAR PURPOSE.
 #
 ##############################################################################
+"""Interfaces for packages.
 
-from zope.app.interfaces.container import IContainer
-from zope.app.interfaces.services.service import IComponentManager
-
-class IPackages(IContainer, IComponentManager):
-    """Packages objects contain database packages
-
-    They support simple containment as well as package query and lookup.
-    """
-
-doc = IPackages.__doc__ + """
 $Id$
 """
 
-
-
-"""XXX short summary goes here.
-
-XXX longer description goes here.
-
-$Id$
-"""
-
-from zope.app.interfaces.container import IContainer
+from zope.app.interfaces.container import IAdding, IContainer
+from zope.app.interfaces.services.service import IComponentManager
 
 class IPackage(IContainer):
-    """Component and component configuration containers.
-    """
-
-
-
+    """Component and component configuration containers."""
 
-"""IPackageAdding
+class IPackages(IContainer, IComponentManager):
+    """A collection of IPackage objects.
 
-$Id$
-"""
-from zope.app.interfaces.container import IAdding
+    An IPackages object supports simple containment as well as package
+    query and lookup.
+    """
 
 class IPackageAdding(IAdding):
-    """The Package Adding is special, since it is not part of the content
-    namespace, but has a similar functionality as a Folder. Therefore there
-    are views that overlap; this interface was created so that there are no
-    configuration conflicts."""
+    """A special package that is not content but is similar to a folder.
+    
+    The Package Adding is special, since it is not part of the content
+    namespace, but has a similar functionality as a Folder. Therefore
+    there are views that overlap; this interface was created so that
+    there are no configuration conflicts.
+    """