diff options
author | Andre Delfino <adelfino@gmail.com> | 2018-12-24 07:05:23 (GMT) |
---|---|---|
committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2018-12-24 07:05:23 (GMT) |
commit | d83f5bda34cb25503570a9c28f6d5b4bb74d3624 (patch) | |
tree | fadde3fae45b9d1f0efe4f5b10a03d0eba12a69a /Doc | |
parent | 7804e8c70cba201e51a35e704038fd882d810445 (diff) | |
download | cpython-d83f5bda34cb25503570a9c28f6d5b4bb74d3624.zip cpython-d83f5bda34cb25503570a9c28f6d5b4bb74d3624.tar.gz cpython-d83f5bda34cb25503570a9c28f6d5b4bb74d3624.tar.bz2 |
Fix minor grammatical mistakes in reversed(dict) doc (GH-10997)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/stdtypes.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index d23e7e9..8874978 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -4283,7 +4283,7 @@ pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098: .. describe:: reversed(d) - Return a reversed iterator over the keys of the dictionary. This is a + Return a reverse iterator over the keys of the dictionary. This is a shortcut for ``reversed(d.keys())``. .. method:: setdefault(key[, default]) @@ -4394,7 +4394,7 @@ support membership tests: .. describe:: reversed(dictview) - Return an reversed iterator over the keys, values or items of the dictionnary. + Return a reverse iterator over the keys, values or items of the dictionary. The view will be iterated in reverse order of the insertion. .. versionchanged:: 3.8 |