summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/templates.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/templates.txt b/docs/topics/templates.txt
index 8651fdeaca..b993ef4d0e 100644
--- a/docs/topics/templates.txt
+++ b/docs/topics/templates.txt
@@ -514,7 +514,7 @@ fictional ``foobar`` template library::
def from_string(self, template_code):
try:
- return Template(self.engine.from_string(template_code))
+ return Template(self.engine.from_string(template_code))
except foobar.TemplateCompilationFailed as exc:
raise TemplateSyntaxError(exc.args)