[Zope3-checkins] CVS: Zope3/src/zope/tal - interfaces.py:1.9

Steve Alexander steve@cat-box.net
Tue, 1 Jul 2003 13:31:35 -0400


Update of /cvs-repository/Zope3/src/zope/tal
In directory cvs.zope.org:/tmp/cvs-serv7660/src/zope/tal

Modified Files:
	interfaces.py 
Log Message:
Increased test coverage of the zope-specific tales engine.
Fixed bug where a different 'default' marker object was used in
zope.app.pagetemplate than in zope.tales
Added documentation of the required semantics of evaluateText to
the ITALExpressionEngine interface.



=== Zope3/src/zope/tal/interfaces.py 1.8 => 1.9 ===
--- Zope3/src/zope/tal/interfaces.py:1.8	Wed Jun 11 04:57:22 2003
+++ Zope3/src/zope/tal/interfaces.py	Tue Jul  1 13:31:03 2003
@@ -99,7 +99,7 @@
 
         The result of evaluating 'compiled_expression' must be a
         string containing a parsable HTML or XML fragment.  Any TAL
-        markup cnotained in the result string will be interpreted.
+        markup contained in the result string will be interpreted.
         """
 
     def evaluateText(compiled_expression):
@@ -108,6 +108,12 @@
         The returned text should be suitable for direct inclusion in
         the output: any HTML or XML escaping or quoting is the
         responsibility of the expression itself.
+
+        If the expression evaluates to None, then that is returned. It
+        represents 'nothing' in TALES.
+        If the expression evaluates to what getDefault() of this interface
+        returns, by comparison using 'is', then that is returned. It
+        represents 'default' in TALES.
         """
 
     def evaluateValue(compiled_expression):