From 7f19e51e4d88c17f819879620f0c6b48d4723099 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sun, 28 Aug 2022 16:58:04 +0200 Subject: [PATCH] Document changes of #1712 in docs/templates for both support for trailing commas for - macro signatures - with statements --- docs/templates.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/templates.rst b/docs/templates.rst index 7a64750be..d07916624 100644 --- a/docs/templates.rst +++ b/docs/templates.rst @@ -955,6 +955,8 @@ override a macro in a parent template. The following will output {% macro foo() %}CHILD{% endmacro %} {% block body %}{{ foo() }}{% endblock %} +.. versionadded:: 3.2.0 Added support for trailing commas in macro signatures + .. _call: @@ -1921,6 +1923,9 @@ use the ``set`` tag:: In older versions of Jinja (before 2.9) it was required to enable this feature with an extension. It's now enabled by default. +.. versionadded:: 3.2.0 Added support for trailing commas in with statements + + .. _autoescape-overrides: Autoescape Overrides