Commits

Walter Dörwald committed f4f5e52

Include arguments to ulc.Template.__str__().

  • Participants
  • Parent commits 2c0a16d

Comments (0)

Files changed (1)

File src/ll/ul4c.py

 		(but without trailing newlines). :var:`indent` can be used to specify how
 		to indent blocks (defaulting to ``"\\t"``).
 		"""
-		yield "def {} {{".format(self.name)
+		yield "def {}(**vars) {{".format(self.name)
 		i = 1
 		for opcode in self.opcodes:
 			if opcode.code in ("else", "endif", "endfor", "enddef"):