Skip to content

Commit

Permalink
Another reference
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Jan 29, 2011
1 parent c889d32 commit 2a590ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ useful if you want to dig deeper into Jinja2 or :ref:`develop extensions
.. autoclass:: Environment([options]) .. autoclass:: Environment([options])
:members: from_string, get_template, select_template, :members: from_string, get_template, select_template,
get_or_select_template, join_path, extend, compile_expression, get_or_select_template, join_path, extend, compile_expression,
compile_templates compile_templates, list_templates


.. attribute:: shared .. attribute:: shared


Expand Down
2 changes: 2 additions & 0 deletions jinja2/environment.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -633,6 +633,8 @@ def list_templates(self, extensions=None, filter_func=None):
in the result list. in the result list.
If the loader does not support that, a :exc:`TypeError` is raised. If the loader does not support that, a :exc:`TypeError` is raised.
.. versionadded:: 2.4
""" """
x = self.loader.list_templates() x = self.loader.list_templates()
if extensions is not None: if extensions is not None:
Expand Down

0 comments on commit 2a590ef

Please sign in to comment.