| commit | 63cf9b895df233a13af5d166d8639cb20583af65 | [log] [tgz] |
|---|---|---|
| author | Armin Ronacher <armin.ronacher@active-4.com> | Sun Jul 26 10:33:36 2009 +0200 |
| committer | Armin Ronacher <armin.ronacher@active-4.com> | Sun Jul 26 10:33:36 2009 +0200 |
| tree | f930155934c66016d1a39f7293e6475c4a3cf159 | |
| parent | d1442c858407b630b0c2dd5c780ed44ab6f96728 [diff] [blame] |
Added the `meta` module. --HG-- branch : trunk
diff --git a/jinja2/nodes.py b/jinja2/nodes.py index c7858b6..7c6c230 100644 --- a/jinja2/nodes.py +++ b/jinja2/nodes.py
@@ -146,7 +146,9 @@ return result def find_all(self, node_type): - """Find all the nodes of a given type.""" + """Find all the nodes of a given type. If the type is a tuple, + the check is performed for any of the tuple items. + """ for child in self.iter_child_nodes(): if isinstance(child, node_type): yield child