[Zope3-checkins] CVS: Zope3/src/zope/schema - interfaces.py:1.3
Steve Alexander
steve@cat-box.net
Tue, 7 Jan 2003 14:49:30 -0500
Update of /cvs-repository/Zope3/src/zope/schema
In directory cvs.zope.org:/tmp/cvs-serv26487/src/zope/schema
Modified Files:
interfaces.py
Log Message:
tidied up source
=== Zope3/src/zope/schema/interfaces.py 1.2 => 1.3 ===
--- Zope3/src/zope/schema/interfaces.py:1.2 Wed Dec 25 09:15:20 2002
+++ Zope3/src/zope/schema/interfaces.py Tue Jan 7 14:49:26 2003
@@ -16,6 +16,9 @@
$Id$
"""
+from zope.interface import Interface
+
+
class StopValidation(Exception):
"""This exception is raised, if the validation is done for sure early.
Note that this exception should be always caught, since it is just a
@@ -62,15 +65,8 @@
during the conversion process."""
-
-"""These are the interfaces for the common fields.
-
-$Id$
-"""
-from zope.interface import Interface
-
-from zope.schema._bootstrapfields \
- import Field, Text, TextLine, Bool, Int, Container, Iterable
+from zope.schema._bootstrapfields import Field, Text, TextLine, Bool, Int
+from zope.schema._bootstrapfields import Container, Iterable
class IField(Interface):
"""Basic Schema Field Interface.