Skip to content
Myr

fix #284

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent df2e34d · Browse files · 2 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:jinja/_speedups.c+1 added-1 removed
438 unmodified lines
439 0, /* tp_setattro */440 0, /* tp_as_buffer */441 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /*tp_flags*/442 "", /* tp_doc */443 (traverseproc)BaseContext_traverse, /* tp_traverse */443 (traverseproc)BaseContext_traverse, /* tp_traverse */444 0, /* tp_clear */445 0, /* tp_richcompare */446 0, /* tp_weaklistoffset */447 0, /* tp_iter */
40 unmodified lines
modified:jinja/parser.py+2 added-2 removed
1094 unmodified lines
1095 raise TemplateSyntaxError('unexpected directive %r.' %1096 self.stream.current.type,1097 lineno, self.filename)1098 else:1099 name = self.stream.current.value1100 raise TemplateSyntaxError('unknown directive %r.' %1100 self.stream.current.type,1101 lineno, self.filename)1101 name, lineno, self.filename)1102 else:1103 node = handler()1104 if node is not None:1105 push_node(node)
70 unmodified lines