Skip to content

Commit

Permalink
fix variable name in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
honzajavorek authored Nov 14, 2024
1 parent ada0a9a commit c032d91
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/jinja2/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -1629,8 +1629,8 @@ def sync_do_selectattr(
.. code-block:: python
(u for user in users if user.is_active)
(u for user in users if test_none(user.email))
(u for u in users if user.is_active)
(u for u in users if test_none(user.email))
.. versionadded:: 2.7
"""
Expand Down Expand Up @@ -1667,8 +1667,8 @@ def sync_do_rejectattr(
.. code-block:: python
(u for user in users if not user.is_active)
(u for user in users if not test_none(user.email))
(u for u in users if not user.is_active)
(u for u in users if not test_none(user.email))
.. versionadded:: 2.7
"""
Expand Down

0 comments on commit c032d91

Please sign in to comment.