[Zope3-checkins] SVN: Zope3/trunk/src/zope/schema/_field.py 'Field' deleted in parameter lists of class Dict and class AbstractCollection because it is inherited from Iterable - Container

Egon Frerich e.frerich at nord-com.net
Fri Jan 21 12:19:17 EST 2005


Log message for revision 28906:
  'Field' deleted in parameter lists of class Dict and class AbstractCollection because it is inherited from Iterable - Container

Changed:
  U   Zope3/trunk/src/zope/schema/_field.py

-=-
Modified: Zope3/trunk/src/zope/schema/_field.py
===================================================================
--- Zope3/trunk/src/zope/schema/_field.py	2005-01-21 15:46:38 UTC (rev 28905)
+++ Zope3/trunk/src/zope/schema/_field.py	2005-01-21 17:19:12 UTC (rev 28906)
@@ -310,7 +310,7 @@
 
         temp_values.append(item)
 
-class AbstractCollection(MinMaxLen, Iterable, Field):
+class AbstractCollection(MinMaxLen, Iterable):
     value_type = None
     unique = False
 
@@ -401,7 +401,7 @@
             raise WrongContainedType(errors)
 
 
-class Dict(MinMaxLen, Iterable, Field):
+class Dict(MinMaxLen, Iterable):
     """A field representing a Dict."""
     implements(IDict)
     _type = dict



More information about the Zope3-Checkins mailing list