[Zope3-checkins] CVS: Zope3/src/zope/schema - _field.py:1.31

Jim Fulton jim at zope.com
Mon Mar 15 13:12:41 EST 2004


Update of /cvs-repository/Zope3/src/zope/schema
In directory cvs.zope.org:/tmp/cvs-serv4849/src/zope/schema

Modified Files:
	_field.py 
Log Message:
Removed the bogus missing value definitions of empty sequences for
tuple and list fields.


=== Zope3/src/zope/schema/_field.py 1.30 => 1.31 ===
--- Zope3/src/zope/schema/_field.py:1.30	Fri Mar  5 17:09:31 2004
+++ Zope3/src/zope/schema/_field.py	Mon Mar 15 13:12:40 2004
@@ -237,14 +237,12 @@
     """A field representing a Tuple."""
     implements(ITuple)
     _type = tuple
-    missing_value = ()
 
 
 class List(Sequence):
     """A field representing a List."""
     implements(IList)
     _type = list
-    missing_value = []
 
 
 def _validate_fields(schema, value, errors=None):




More information about the Zope3-Checkins mailing list