[Zodb-checkins] CVS: Zope3/src/zope/interface - interfaces.py:1.16

Steve Alexander steve at cat-box.net
Fri Oct 17 04:05:54 EDT 2003


Update of /cvs-repository/Zope3/src/zope/interface
In directory cvs.zope.org:/tmp/cvs-serv25838

Modified Files:
	interfaces.py 
Log Message:
Clarified the contract of ITypeRegistry.getAll().


=== Zope3/src/zope/interface/interfaces.py 1.15 => 1.16 ===
--- Zope3/src/zope/interface/interfaces.py:1.15	Mon Sep  8 05:15:54 2003
+++ Zope3/src/zope/interface/interfaces.py	Fri Oct 17 04:05:53 2003
@@ -254,8 +254,6 @@
 
     The identifier is not allowed to contain tab characters.
     """)
-                               
-    
 
 
 class ITypeRegistry(Interface):
@@ -289,6 +287,10 @@
         that are extended by or equal to one or more interfaces in the
         given interface specification.
 
+        Objects that match more specific interfaces of the specification
+        come before those that match less specific interfaces, as per
+        the interface resolution order described in the flattened() operation
+        of IInterfaceSpecification.
         """
 
     def getAllForObject(object):
@@ -306,7 +308,7 @@
         """Returns the number of distinct interfaces registered.
         """
 
-  
+
 class IAdapterRegistry(Interface):
     """Adapter-style registry
 




More information about the Zodb-checkins mailing list