Commit 2175aad2 authored by Guido van Rossum's avatar Guido van Rossum

Add new opcode tagDict, to set the dictionary of raw attributes for a

tag.
parent 1c76e154
......@@ -353,6 +353,10 @@ class TALInterpreter:
value = self.engine.evaluateValue(expr)
self.engine.setGlobal(name, value)
def do_tagDict(self, dict):
if self.tal:
self.engine.setLocal("tag", dict)
def do_insertText(self, expr, block):
if not self.tal:
self.interpret(block)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment