[Zope3-checkins] CVS: Zope3/src/zope/app/container - zopecontainer.py:1.8
Sidnei da Silva
sidnei@x3ng.com.br
Mon, 3 Feb 2003 12:13:50 -0500
Update of /cvs-repository/Zope3/src/zope/app/container
In directory cvs.zope.org:/tmp/cvs-serv484/src/zope/app/container
Modified Files:
zopecontainer.py
Log Message:
Humm... how did I removed this?
=== Zope3/src/zope/app/container/zopecontainer.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/container/zopecontainer.py:1.7 Mon Feb 3 12:10:57 2003
+++ Zope3/src/zope/app/container/zopecontainer.py Mon Feb 3 12:13:48 2003
@@ -149,6 +149,9 @@
return key
+ def __iter__(self):
+ '''See interface IReadContainer'''
+ return iter(self.context)
def rename(currentKey, newKey):
"""Put the object found at 'currentKey' under 'newKey' instead.