[Zope3-checkins] CVS: Zope3/src/zope/app - attributeannotations.py:1.11

Jim Fulton jim at zope.com
Fri Mar 5 17:09:52 EST 2004


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

Modified Files:
	attributeannotations.py 
Log Message:
Renamed interface methods:

isImplementedByInstancesOf to implementedBy
  isImplementedBy            to providedBy


=== Zope3/src/zope/app/attributeannotations.py 1.10 => 1.11 ===
--- Zope3/src/zope/app/attributeannotations.py:1.10	Tue Mar  2 12:51:46 2004
+++ Zope3/src/zope/app/attributeannotations.py	Fri Mar  5 17:08:51 2004
@@ -46,7 +46,7 @@
 
     def __setitem__(self, key, value):
         """See zope.app.interfaces.annotation.IAnnotations"""
-        if ILocation.isImplementedBy(value):
+        if ILocation.providedBy(value):
             value.__parent__ = self.unwrapped_obj
 
         try:




More information about the Zope3-Checkins mailing list