From: huangxiaokai Date: Sun, 23 Mar 2014 10:25:25 +0000 (+0800) Subject: Fix a mistake in template document. X-Git-Tag: v4.0.0b1~100^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1020%2Fhead;p=thirdparty%2Ftornado.git Fix a mistake in template document. --- diff --git a/tornado/template.py b/tornado/template.py index 94127e79f..8bb0ac0aa 100644 --- a/tornado/template.py +++ b/tornado/template.py @@ -180,7 +180,7 @@ with ``{# ... #}``. ``{% set *x* = *y* %}`` Sets a local variable. -``{% try %}...{% except %}...{% finally %}...{% else %}...{% end %}`` +``{% try %}...{% except %}...{% else %}...{% finally %}...{% end %}`` Same as the python ``try`` statement. ``{% while *condition* %}... {% end %}``