[Zope3-checkins] CVS: Zope3/src/zope/app/container - sample.py:1.7

Steve Alexander steve@cat-box.net
Tue, 3 Jun 2003 10:19:32 -0400


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

Modified Files:
	sample.py 
Log Message:
Changed an __implements__ for an implements()


=== Zope3/src/zope/app/container/sample.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/container/sample.py:1.6	Thu May  1 15:35:09 2003
+++ Zope3/src/zope/app/container/sample.py	Tue Jun  3 10:19:31 2003
@@ -25,6 +25,7 @@
 from types import StringTypes
 
 from zope.app.interfaces.container import IContainer
+from zope.interface import implements
 
 class SampleContainer(object):
     """Sample container implementation suitable for testing.
@@ -33,8 +34,7 @@
     overrides _Container__newData to return a persistent mapping
     object.
     """
-
-    __implements__ =  IContainer
+    implements(IContainer)
 
     def __init__(self):
         self.__data = self._newContainerData()