Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed typos on docstrings of template filters. #275

Merged
merged 1 commit into from Mar 11, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions jinja2/filters.py
Expand Up @@ -842,7 +842,7 @@ def do_map(*args, **kwargs):

@contextfilter
def do_select(*args, **kwargs):
"""Filters a sequence of objects by appying a test to the object and only
"""Filters a sequence of objects by applying a test to the object and only
selecting the ones with the test succeeding.

Example usage:
Expand All @@ -859,7 +859,7 @@ def do_select(*args, **kwargs):

@contextfilter
def do_reject(*args, **kwargs):
"""Filters a sequence of objects by appying a test to the object and
"""Filters a sequence of objects by applying a test to the object and
rejecting the ones with the test succeeding.

Example usage:
Expand All @@ -875,7 +875,7 @@ def do_reject(*args, **kwargs):

@contextfilter
def do_selectattr(*args, **kwargs):
"""Filters a sequence of objects by appying a test to an attribute of an
"""Filters a sequence of objects by applying a test to an attribute of an
object and only selecting the ones with the test succeeding.

Example usage:
Expand All @@ -892,7 +892,7 @@ def do_selectattr(*args, **kwargs):

@contextfilter
def do_rejectattr(*args, **kwargs):
"""Filters a sequence of objects by appying a test to an attribute of an
"""Filters a sequence of objects by applying a test to an attribute of an
object or the attribute and rejecting the ones with the test succeeding.

.. sourcecode:: jinja
Expand Down