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

Fix typos #1509

Merged
merged 1 commit into from Nov 9, 2021
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion CHANGES.rst
Expand Up @@ -408,7 +408,7 @@ Released 2017-01-08
possible. For more information and a discussion see :issue:`641`
- Resolved an issue where ``block scoped`` would not take advantage of
the new scoping rules. In some more exotic cases a variable
overriden in a local scope would not make it into a block.
overridden in a local scope would not make it into a block.
- Change the code generation of the ``with`` statement to be in line
with the new scoping rules. This resolves some unlikely bugs in edge
cases. This also introduces a new internal ``With`` node that can be
Expand Down
2 changes: 1 addition & 1 deletion src/jinja2/nodes.py
Expand Up @@ -956,7 +956,7 @@ class Div(BinExpr):


class FloorDiv(BinExpr):
"""Divides the left by the right node and truncates conver the
"""Divides the left by the right node and converts the
result into an integer by truncating.
"""

Expand Down
4 changes: 2 additions & 2 deletions tests/test_inheritance.py
Expand Up @@ -37,7 +37,7 @@
{% block block1 %}
{% if false %}
{% block block2 %}
this should workd
this should work
{% endblock %}
{% endif %}
{% endblock %}
Expand All @@ -49,7 +49,7 @@
{% block block1 %}
{% if false %}
{% block block2 %}
this should workd
this should work
{% endblock %}
{% endif %}
{% endblock %}
Expand Down