[Zope3-checkins] CVS: Zope3/src/zope/app/container -
contained.py:1.13
Garrett Smith
garrett at mojave-corp.com
Fri Mar 5 23:17:53 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/container
In directory cvs.zope.org:/tmp/cvs-serv15646/src/zope/app/container
Modified Files:
contained.py
Log Message:
Merged changes from garrett-widgets2-branch:
- Changed the way widgets are looked up to use interfaces instead of
names.
- Refactor of zope/app/form/utility.py -- see
http://dev.zope.org/Zope3/WidgetsAndMultiwayAdapters
for details.
- Moved configuration of vocab widgets to its own zcml file
(zope/app/browser/form/vocabularywidget.zcml).
- Removed 'propertyNames' and 'getValue' from widgets. This is replaced
by accessing the widget attributes directly.
- Deleted depreated methods from widget interface: haveData and getData.
=== Zope3/src/zope/app/container/contained.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/container/contained.py:1.12 Fri Mar 5 21:36:53 2004
+++ Zope3/src/zope/app/container/contained.py Fri Mar 5 23:17:22 2004
@@ -155,7 +155,7 @@
>>> from zope.app.location import Location
>>> item = Location()
- >>> IContained.isImplementedBy(item)
+ >>> IContained.providedBy(item)
False
>>> x, event = containedEvent(item, container, 'foo')
>>> x is item
@@ -164,7 +164,7 @@
True
>>> item.__name__
'foo'
- >>> IContained.isImplementedBy(item)
+ >>> IContained.providedBy(item)
True
More information about the Zope3-Checkins
mailing list