[Python-checkins] Fix minor grammatical mistakes in reversed(dict) doc (GH-10997)
Raymond Hettinger
webhook-mailer at python.org
Mon Dec 24 02:05:26 EST 2018
https://github.com/python/cpython/commit/d83f5bda34cb25503570a9c28f6d5b4bb74d3624
commit: d83f5bda34cb25503570a9c28f6d5b4bb74d3624
branch: master
author: Andre Delfino <adelfino at gmail.com>
committer: Raymond Hettinger <rhettinger at users.noreply.github.com>
date: 2018-12-23T23:05:23-08:00
summary:
Fix minor grammatical mistakes in reversed(dict) doc (GH-10997)
files:
M Doc/library/stdtypes.rst
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index d23e7e9b87ff..887497852216 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
More information about the Python-checkins
mailing list