From c2985c491b68ad34dd761d03da6e0e53e7c6444e Mon Sep 17 00:00:00 2001 From: dhx-mike-palandra <45608336+dhx-mike-palandra@users.noreply.github.com> Date: Tue, 27 Apr 2021 04:34:48 -0400 Subject: [PATCH] Update complex_data_manipulation.rst (#72509) --- docs/docsite/rst/user_guide/complex_data_manipulation.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docsite/rst/user_guide/complex_data_manipulation.rst b/docs/docsite/rst/user_guide/complex_data_manipulation.rst index fc4a16275e0..1ed4ce5b48f 100644 --- a/docs/docsite/rst/user_guide/complex_data_manipulation.rst +++ b/docs/docsite/rst/user_guide/complex_data_manipulation.rst @@ -230,7 +230,7 @@ These example produces ``{"a": "b", "c": "d"}`` vars: single_list: [ 'a', 'b', 'c', 'd' ] - mydict: "{{ dict(single_list | slice(2) | list) }}" + mydict: "{{ dict(single_list | slice(2)) }}" .. code-block:: YAML+Jinja @@ -240,7 +240,7 @@ These example produces ``{"a": "b", "c": "d"}`` list_of_pairs: [ ['a', 'b'], ['c', 'd'] ] mydict: "{{ dict(list_of_pairs) }}" -Both end up being the same thing, with the ``slice(2) | list`` transforming ``single_list`` to the same structure as ``list_of_pairs``. +Both end up being the same thing, with ``slice(2)`` transforming ``single_list`` to a ``list_of_pairs`` generator.