[Zope3-checkins] SVN: Zope3/trunk/src/zope/tal/talgenerator.py
Removed definitely wrong comment
Dmitry Vasiliev
dima at hlabs.spb.ru
Wed Apr 27 06:18:41 EDT 2005
Log message for revision 30199:
Removed definitely wrong comment
Changed:
U Zope3/trunk/src/zope/tal/talgenerator.py
-=-
Modified: Zope3/trunk/src/zope/tal/talgenerator.py
===================================================================
--- Zope3/trunk/src/zope/tal/talgenerator.py 2005-04-27 03:04:33 UTC (rev 30198)
+++ Zope3/trunk/src/zope/tal/talgenerator.py 2005-04-27 10:18:40 UTC (rev 30199)
@@ -323,18 +323,7 @@
self.emit('evaluateCode', lang, program)
def emitI18nVariable(self, stuff):
- # Used for i18n:name attributes. arg is extra information describing
- # how the contents of the variable should get filled in, and it will
- # either be a 1-tuple or a 2-tuple. If arg[0] is None, then the
- # i18n:name value is taken implicitly from the contents of the tag,
- # e.g. "I live in <span i18n:name="country">the USA</span>". In this
- # case, arg[1] is the opcode sub-program describing the contents of
- # the tag.
- #
- # When arg[0] is not None, it contains the tal expression used to
- # calculate the contents of the variable, e.g.
- # "I live in <span i18n:name="country"
- # tal:replace="here/countryOfOrigin" />"
+ # Used for i18n:name attributes.
varname, action, expression = stuff
m = _name_rx.match(varname)
if m is None or m.group() != varname:
More information about the Zope3-Checkins
mailing list