[Zope3-checkins] CVS: Zope3/src/zope/schema - interfaces.py:1.36
Philipp von Weitershausen
philikon at philikon.de
Mon Jan 5 06:31:08 EST 2004
Update of /cvs-repository/Zope3/src/zope/schema
In directory cvs.zope.org:/tmp/cvs-serv8620/src/zope/schema
Modified Files:
interfaces.py
Log Message:
- IBytes was in there twice. Why we'll never know.
- Improved/fixed a few docstrings.
=== Zope3/src/zope/schema/interfaces.py 1.35 => 1.36 ===
--- Zope3/src/zope/schema/interfaces.py:1.35 Wed Dec 17 05:48:51 2003
+++ Zope3/src/zope/schema/interfaces.py Mon Jan 5 06:31:08 2004
@@ -88,12 +88,12 @@
required = Bool(
title=_(u"Required"),
description=(
- _(u"tells whether a field requires its value to exist.")),
+ _(u"Tells whether a field requires its value to exist.")),
default=True)
readonly = Bool(
title=_(u"Read Only"),
- description=_(u"Read-only."), # XXX what is this?
+ description=_(u"If true, the field's value cannot be changed."),
required=False,
default=False)
@@ -262,12 +262,7 @@
The value might be contrained to be with length limits.
"""
-class IBytes(IMinMaxLen, IEnumerated, IIterable, IField):
- # XXX IEnumerated will be removed in the future.
- u"""Field containing a byte data(binary!).
- The value might be contrained to be with length limits.
- """
class IASCII(IMinMaxLen, IEnumerated, IIterable, IField):
# XXX IEnumerated will be removed in the future.
u"""Field containing a byte string (like the python str).
More information about the Zope3-Checkins
mailing list