[Zope3-checkins] SVN: Zope3/trunk/src/zope/schema/_field.py Removed a case of mixed spaces and tabs.

Gintautas Miliauskas gintas at pov.lt
Wed Feb 9 10:30:37 EST 2005


Log message for revision 29090:
  Removed a case of mixed spaces and tabs.
  

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-02-09 02:31:17 UTC (rev 29089)
+++ Zope3/trunk/src/zope/schema/_field.py	2005-02-09 15:30:36 UTC (rev 29090)
@@ -271,19 +271,19 @@
 
     To illustrate, we'll use a text value type. All values must be unicode.
 
-	    >>> field = TextLine(required=True)
+            >>> field = TextLine(required=True)
 
-	To validate a sequence of various values:
+        To validate a sequence of various values:
 
-	    >>> errors = _validate_sequence(field, ('foo', u'bar', 1))
-	    >>> errors
-	    [foo <type 'unicode'>, 1 <type 'unicode'>]
+            >>> errors = _validate_sequence(field, ('foo', u'bar', 1))
+            >>> errors
+            [foo <type 'unicode'>, 1 <type 'unicode'>]
 
-	The only valid value in the sequence is the second item. The others
-	generated errors.
+        The only valid value in the sequence is the second item. The others
+        generated errors.
 
-	We can use the optional errors argument to collect additional errors
-	for a new sequence:
+        We can use the optional errors argument to collect additional errors
+        for a new sequence:
 
         >>> errors = _validate_sequence(field, (2, u'baz'), errors)
         >>> errors



More information about the Zope3-Checkins mailing list