Skip to content
Myr

Fix typos

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kian-Meng, Ang · committed by Kian-Meng, Ang · parent b7d12b6 · Browse files · 3 files+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+4 added−4 removed

  • tests:+2 added−2 removed
  • other:+2 added−2 removed

3 files+4 added−4 removed

modified:src/jinja2/nodes.py+1 added-1 removed
954 unmodified lines
955 operator = "/"956957958class FloorDiv(BinExpr):959 """Divides the left by the right node and truncates conver the959 """Divides the left by the right node and converts the960 result into an integer by truncating.961 """962963 operator = "//"
242 unmodified lines
modified:tests/test_inheritance.py+2 added-2 removed
35 unmodified lines
36{% extends "layout" %}37{% block block1 %}38 {% if false %}39 {% block block2 %}40 this should workd40 this should work41 {% endblock %}42 {% endif %}43{% endblock %}44"""
3 unmodified lines
48{% extends "layout" %}49{% block block1 %}50 {% if false %}51 {% block block2 %}52 this should workd52 this should work53 {% endblock %}54 {% endif %}55{% endblock %}56"""
349 unmodified lines
modified:CHANGES.rst+1 added-1 removed
406 unmodified lines
407 the old behavior where limited assignments to outer scopes was408 possible. For more information and a discussion see :issue:`641`409- Resolved an issue where ``block scoped`` would not take advantage of410 the new scoping rules. In some more exotic cases a variable411 overriden in a local scope would not make it into a block.411 overridden in a local scope would not make it into a block.412- Change the code generation of the ``with`` statement to be in line413 with the new scoping rules. This resolves some unlikely bugs in edge414 cases. This also introduces a new internal ``With`` node that can be415 used by extensions.
483 unmodified lines