[Checkins] SVN: z3c.pt/trunk/src/z3c/pt/expressions.py Grammar

Wichert Akkerman wichert at wiggy.net
Tue Aug 26 10:50:51 EDT 2008


Log message for revision 90337:
  Grammar

Changed:
  U   z3c.pt/trunk/src/z3c/pt/expressions.py

-=-
Modified: z3c.pt/trunk/src/z3c/pt/expressions.py
===================================================================
--- z3c.pt/trunk/src/z3c/pt/expressions.py	2008-08-26 14:50:09 UTC (rev 90336)
+++ z3c.pt/trunk/src/z3c/pt/expressions.py	2008-08-26 14:50:50 UTC (rev 90337)
@@ -433,7 +433,7 @@
         >>> interpolate('${abc')
         Traceback (most recent call last):
           ...
-        SyntaxError: Interpolation expressions must of the form ${<expression>} (${abc)
+        SyntaxError: Interpolation expressions must be of the form ${<expression>} (${abc)
         
         """
 
@@ -452,7 +452,7 @@
 
         if m is None or (expression is None and variable is None):
             raise SyntaxError(
-                "Interpolation expressions must of the "
+                "Interpolation expressions must be of the "
                 "form ${<expression>} (%s)" % string)
 
         if expression and not m.group('expression'):



More information about the Checkins mailing list