[Zope3-checkins] SVN: Zope3/trunk/src/zope/tales/expressions.py
make a string with undefined escape sequice raw
Benji York
benji at zope.com
Fri Sep 2 11:36:40 EDT 2005
Log message for revision 38203:
make a string with undefined escape sequice raw
Changed:
U Zope3/trunk/src/zope/tales/expressions.py
-=-
Modified: Zope3/trunk/src/zope/tales/expressions.py
===================================================================
--- Zope3/trunk/src/zope/tales/expressions.py 2005-08-31 17:34:59 UTC (rev 38202)
+++ Zope3/trunk/src/zope/tales/expressions.py 2005-08-31 17:50:28 UTC (rev 38203)
@@ -24,7 +24,7 @@
Undefs = (Undefined, AttributeError, KeyError, TypeError, IndexError)
_marker = object()
-namespace_re = re.compile('(\w+):(.+)')
+namespace_re = re.compile(r'(\w+):(.+)')
def simpleTraverse(object, path_items, econtext):
"""Traverses a sequence of names, first trying attributes then items.
More information about the Zope3-Checkins
mailing list