Annotation of kupuMPIWG/zope3/field.py, revision 1.1

1.1     ! dwinter     1: ##############################################################################
        !             2: #
        !             3: # Copyright (c) 2003-2005 Kupu Contributors. All rights reserved.
        !             4: #
        !             5: # This software is distributed under the terms of the Kupu
        !             6: # License. See LICENSE.txt for license text. For a list of Kupu
        !             7: # Contributors see CREDITS.txt.
        !             8: #
        !             9: ##############################################################################
        !            10: """HTMLBody field
        !            11: 
        !            12: $Id: field.py 9879 2005-03-18 12:04:00Z yuppie $
        !            13: """
        !            14: 
        !            15: from zope.interface import implements
        !            16: from zope.schema import Bytes
        !            17: from zope.schema.fieldproperty import FieldProperty
        !            18: 
        !            19: from interfaces import IHTMLBody
        !            20: 
        !            21: class HTMLBody(Bytes):
        !            22:     implements(IHTMLBody)
        !            23: 
        !            24:     html2xhtml1 = FieldProperty(IHTMLBody['html2xhtml1'])

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>