[Zope3-checkins] CVS: Zope3/src/zope/schema - interfaces.py:1.22
Fred L. Drake, Jr.
fred@zope.com
Wed, 11 Jun 2003 13:00:28 -0400
Update of /cvs-repository/Zope3/src/zope/schema
In directory cvs.zope.org:/tmp/cvs-serv18767
Modified Files:
interfaces.py
Log Message:
Try to clarify the IField.bind() docstring.
=== Zope3/src/zope/schema/interfaces.py 1.21 => 1.22 ===
--- Zope3/src/zope/schema/interfaces.py:1.21 Sun Jun 1 11:59:41 2003
+++ Zope3/src/zope/schema/interfaces.py Wed Jun 11 13:00:28 2003
@@ -70,11 +70,11 @@
"""
def bind(object):
- """Return a copy of this field which is bound to an object.
+ """Return a copy of this field which is bound to context.
The copy of the Field will have the 'context' attribute set
to 'object'. This way a Field can implement more complex
- checks involving the object and its location.
+ checks involving the object's location/environment.
Many fields don't need to be bound. Only fields that condition
validation or properties on an object containing the field