[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces - annotation.py:1.1.2.3

Guido van Rossum guido@python.org
Mon, 23 Dec 2002 16:25:02 -0500


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

Modified Files:
      Tag: NameGeddon-branch
	annotation.py 
Log Message:
Reorder classes and imports.


=== Zope3/src/zope/app/interfaces/annotation.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/interfaces/annotation.py:1.1.2.2	Mon Dec 23 15:49:36 2002
+++ Zope3/src/zope/app/interfaces/annotation.py	Mon Dec 23 16:25:01 2002
@@ -17,6 +17,22 @@
 """
 
 from zope.interface import Interface
+from zope.interface import Attribute
+
+
+class IAnnotatable(Interface):
+    """
+    Marker interface for objects that support storing annotations.
+    
+    This interface says "There exists an adapter to an IAnnotations
+    for an object that implements IAnnotatable".
+    
+    Classes should not directly declare that they implement this interface.
+    Instead they should implement an interface derived from this one, which
+    details how the annotations are to be stored, such as
+    IAttributeAnnotatable.
+    """
+
 
 class IAnnotations(IAnnotatable):
     """
@@ -51,34 +67,8 @@
         """
 
 
-"""
-
-$Id$
-"""
-
-
 class IAttributeAnnotatable(IAnnotatable):
     """
     Marker interface giving permission for an IAnnotations adapter to store
     data in an attribute named __annotations__.
-    """
-
-
-"""
-
-$Id$
-"""
-from zope.interface import Interface, Attribute
-
-class IAnnotatable(Interface):
-    """
-    Marker interface for objects that support storing annotations.
-    
-    This interface says "There exists an adapter to an IAnnotations
-    for an object that implements IAnnotatable".
-    
-    Classes should not directly declare that they implement this interface.
-    Instead they should implement an interface derived from this one, which
-    details how the annotations are to be stored, such as
-    IAttributeAnnotatable.
     """