| commit | 53278a3238ac74775527fa217deb9fe8b7ba69fe | [log] [tgz] |
|---|---|---|
| author | Armin Ronacher <armin.ronacher@active-4.com> | Mon Jan 24 01:16:00 2011 +0100 |
| committer | Armin Ronacher <armin.ronacher@active-4.com> | Mon Jan 24 01:16:00 2011 +0100 |
| tree | ddd9c6be0736749f1bcf9024c13dac827312694b | |
| parent | d464d0820c6a42f77a7c52516195840602195936 [diff] [blame] |
Damn you Sphinx
diff --git a/jinja2/ext.py b/jinja2/ext.py index ceb3895..5ba6efd 100644 --- a/jinja2/ext.py +++ b/jinja2/ext.py
@@ -103,7 +103,9 @@ def attr(self, name, lineno=None): """Return an attribute node for the current extension. This is useful - to pass constants on extensions to generated template code:: + to pass constants on extensions to generated template code. + + :: self.attr('_my_attribute', lineno=lineno) """