Fix flatten null perserve versionadded (#70435)

This commit is contained in:
David Shrewsbury 2020-07-02 14:28:39 -04:00 committed by GitHub
parent 1be78dbfc5
commit 4e41e37aa7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -874,7 +874,7 @@ Flatten only the first level of a list (akin to the `items` lookup)::
{{ [3, [4, [2]] ] | flatten(levels=1) }}
.. versionadded:: 2.10
.. versionadded:: 2.11
Preserve nulls in a list, by default flatten removes them. ::