From 946658cd24aa2cde41fe06f3c29e67a36eeaa85c Mon Sep 17 00:00:00 2001 From: scottb Date: Tue, 18 Apr 2017 17:05:28 -0700 Subject: [PATCH] Update playbooks_python_version.rst Minor edits --- docs/docsite/rst/playbooks_python_version.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docsite/rst/playbooks_python_version.rst b/docs/docsite/rst/playbooks_python_version.rst index 519fff3f370..3d4a310889d 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`::