]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
change "per default" to "by default"
authorDavid Lord <davidism@gmail.com>
Wed, 18 Dec 2024 17:33:31 +0000 (09:33 -0800)
committerDavid Lord <davidism@gmail.com>
Wed, 18 Dec 2024 17:33:31 +0000 (09:33 -0800)
CHANGES.rst
docs/templates.rst
docs/tricks.rst
src/jinja2/loaders.py

index 7fb72976331c865de2440db8054802fffefc5bb3..feb1e6c3db031b94e40b67e638f38325236c570c 100644 (file)
@@ -1001,7 +1001,7 @@ Released 2008-07-17, codename Jinjavitus
     evaluates to ``false``.
 -   Improved error reporting for undefined values by providing a
     position.
--   ``filesizeformat`` filter uses decimal prefixes now per default and
+-   ``filesizeformat`` filter uses decimal prefixes now by default and
     can be set to binary mode with the second parameter.
 -   Fixed bug in finalizer
 
index 2bb28f61040af305fef81164aacb8f6a498bce95..0eab8e66461f20dea906dbf4dcbfc52e4a77ac3e 100644 (file)
@@ -528,7 +528,7 @@ However, the name after the `endblock` word must match the block name.
 Block Nesting and Scope
 ~~~~~~~~~~~~~~~~~~~~~~~
 
-Blocks can be nested for more complex layouts.  However, per default blocks
+Blocks can be nested for more complex layouts.  However, by default blocks
 may not access variables from outer scopes::
 
     {% for item in seq %}
index b58c5bb094c320369b6937e131d9bab6d14fc5fd..3a7084a6d896574a595c2e182c56e0ba94d1de1b 100644 (file)
@@ -21,7 +21,7 @@ for a neat trick.
 Usually child templates extend from one template that adds a basic HTML
 skeleton.  However it's possible to put the `extends` tag into an `if` tag to
 only extend from the layout template if the `standalone` variable evaluates
-to false which it does per default if it's not defined.  Additionally a very
+to false, which it does by default if it's not defined.  Additionally a very
 basic skeleton is added to the file so that if it's indeed rendered with
 `standalone` set to `True` a very basic HTML skeleton is added::
 
index 8c2c86cd0b9eb164e97003a126e8baac0241ad5e..b1ad401c06e05c4637a8e88bb4bfdedd7580cf65 100644 (file)
@@ -430,7 +430,7 @@ class DictLoader(BaseLoader):
 
     >>> loader = DictLoader({'index.html': 'source here'})
 
-    Because auto reloading is rarely useful this is disabled per default.
+    Because auto reloading is rarely useful this is disabled by default.
     """
 
     def __init__(self, mapping: t.Mapping[str, str]) -> None: