diff --git a/docs/docsite/rst/playbooks_python_version.rst b/docs/docsite/rst/playbooks_python_version.rst index 519fff3f37..3d4a310889 100644 --- a/docs/docsite/rst/playbooks_python_version.rst +++ b/docs/docsite/rst/playbooks_python_version.rst @@ -22,9 +22,9 @@ Dictionary Views In Python2, the :meth:`dict.keys`, :meth:`dict.values`, and :meth:`dict.items` methods returns a list. Jinja2 returns that to Ansible via a string representation that Ansible can turn back into a list. In Python3, those -methods returns a :ref:`dictionary view ` object. The -string representation that Jinja2 returns for dictionary views is not parsable -by Ansible back into a list. It is, however, easy to make this portable by +methods return a :ref:`dictionary view ` object. The +string representation that Jinja2 returns for dictionary views cannot be parsed back +into a list by Ansible. It is, however, easy to make this portable by using the :func:`list ` filter whenever using :meth:`dict.keys`, :meth:`dict.values`, or :meth:`dict.items`::