summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.rst2
-rw-r--r--src/jinja2/nodes.py2
-rw-r--r--tests/test_inheritance.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 191d900..a000888 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -423,7 +423,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
diff --git a/src/jinja2/nodes.py b/src/jinja2/nodes.py
index 8feb269..b2f88d9 100644
--- a/src/jinja2/nodes.py
+++ b/src/jinja2/nodes.py
@@ -955,7 +955,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.
"""
diff --git a/tests/test_inheritance.py b/tests/test_inheritance.py
index 5221839..0c20d4d 100644
--- a/tests/test_inheritance.py
+++ b/tests/test_inheritance.py
@@ -37,7 +37,7 @@ WORKINGTEMPLATE = """\
{% block block1 %}
{% if false %}
{% block block2 %}
- this should workd
+ this should work
{% endblock %}
{% endif %}
{% endblock %}
@@ -49,7 +49,7 @@ DOUBLEEXTENDS = """\
{% block block1 %}
{% if false %}
{% block block2 %}
- this should workd
+ this should work
{% endblock %}
{% endif %}
{% endblock %}