util.c: Fix docstrings for generic-map iterator classes.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 19 Oct 2019 19:33:28 +0000 (20:33 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 17 Nov 2019 02:50:40 +0000 (02:50 +0000)
util.c

diff --git a/util.c b/util.c
index 027033e..6a6d26c 100644 (file)
--- a/util.c
+++ b/util.c
@@ -407,7 +407,7 @@ static PyTypeObject itemiter_pytype_skel = {
     Py_TPFLAGS_BASETYPE,
 
   /* @tp_doc@ */
-"Iterates over the items of a mapping.",
+"Iterates over the keys of a mapping.",
 
   0,                                   /* @tp_traverse@ */
   0,                                   /* @tp_clear@ */
@@ -465,7 +465,7 @@ static PyTypeObject valiter_pytype_skel = {
     Py_TPFLAGS_BASETYPE,
 
   /* @tp_doc@ */
-"Iterates over the items of a mapping.",
+"Iterates over the values of a mapping.",
 
   0,                                   /* @tp_traverse@ */
   0,                                   /* @tp_clear@ */