mirror of
https://gitee.com/openharmony/third_party_jinja2
synced 2024-11-23 15:19:46 +00:00
Fixed a link to the renamed section.
--HG-- branch : trunk
This commit is contained in:
parent
b93887731d
commit
53db78e3df
2
CHANGES
2
CHANGES
@ -11,7 +11,7 @@ Version 2.0
|
||||
changed the AST slightly. `Subscript` is gone and was replaced with
|
||||
:class:`~jinja2.nodes.Getitem` and :class:`~jinja2.nodes.Getattr`.
|
||||
|
||||
For more information see :ref:`the implementation details <notes-on-subscribing>`.
|
||||
For more information see :ref:`the implementation details <notes-on-subscriptions>`.
|
||||
|
||||
- added support for preprocessing and token stream filtering for extensions.
|
||||
This would allow extensions to allow simplified gettext calls in template
|
||||
|
@ -627,7 +627,7 @@ def do_attr(environment, obj, name):
|
||||
``foo["bar"]`` just that always an attribute is returned and items are not
|
||||
looked up.
|
||||
|
||||
See :ref:`Notes on subscribing <notes-on-subscribing>` for more details.
|
||||
See :ref:`Notes on subscriptions <notes-on-subscriptions>` for more details.
|
||||
"""
|
||||
try:
|
||||
value = getattr(obj, name)
|
||||
|
Loading…
Reference in New Issue
Block a user