[Zope3-checkins] CVS: Zope3/src/zope/app/component - interfacefield.py:1.10
Richard Jones
richard@commonground.com.au
Fri, 11 Jul 2003 22:47:49 -0400
Update of /cvs-repository/Zope3/src/zope/app/component
In directory cvs.zope.org:/tmp/cvs-serv26157/src/zope/app/component
Modified Files:
interfacefield.py
Log Message:
Sequence value_types argument is now value_type (ie. a single Field type)
Dict key_types and value_types are also changed to key_type and value_type.
[having multiple value/key types makes no sense and actually makes widgets
extraordinarily difficult to implement (read: approaching impossible :)]
=== Zope3/src/zope/app/component/interfacefield.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/component/interfacefield.py:1.9 Sat Jun 7 02:37:21 2003
+++ Zope3/src/zope/app/component/interfacefield.py Fri Jul 11 22:47:12 2003
@@ -70,7 +70,7 @@
super(InterfacesField, self).__init__(default=default, *args, **kw)
self.validate((basetype,))
self.basetype = basetype
- # Not using schema.Sequence.value_types
+ # Not using schema.Sequence.value_type
def _validate(self, value):
super(InterfacesField, self)._validate(value)