summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2022-02-18 07:14:18 -0800
committerDavid Lord <davidism@gmail.com>2022-02-18 07:14:18 -0800
commitbb7f3a51091d91010deb1e01e69f4f255d3b3eb6 (patch)
treef44ec34cc490d4d91c1134e316300398abcc55ab /src
parentdf59bde6ae54d2458acce3c25c5d35f38e456a9c (diff)
parent681f8de8421183cf4ed35547c723cb0a3d9a2955 (diff)
downloadjinja2-bb7f3a51091d91010deb1e01e69f4f255d3b3eb6.tar.gz
Merge branch '3.0.x'
Diffstat (limited to 'src')
-rw-r--r--src/jinja2/environment.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jinja2/environment.py b/src/jinja2/environment.py
index 0c380c8..9dd455a 100644
--- a/src/jinja2/environment.py
+++ b/src/jinja2/environment.py
@@ -973,7 +973,9 @@ class Environment:
:class:`Template`. If the template does not exist a
:exc:`TemplateNotFound` exception is raised.
- :param name: Name of the template to load.
+ :param name: Name of the template to load. When loading
+ templates from the filesystem, "/" is used as the path
+ separator, even on Windows.
:param parent: The name of the parent template importing this
template. :meth:`join_path` can be used to implement name
transformations with this.