From 4c792b0de4dca5094f66b7cf74391869eb2a4617 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Fri, 22 Nov 2019 20:30:31 +0000 Subject: [PATCH] *.c: Reformat docstrings. No functional changes here: just changing how the strings are represented in the source. --- catacomb.c | 2 +- util.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/catacomb.c b/catacomb.c index f02d39e..bb0bbdb 100644 --- a/catacomb.c +++ b/catacomb.c @@ -151,7 +151,7 @@ static PyObject *meth__ego(PyObject *me, PyObject *arg) static PyMethodDef methods[] = { #define METHNAME(func) meth_##func - METH (_ego, "_ego(ARGV0)") + METH (_ego, "_ego(ARGV0)") #undef METHNAME { 0 } }; diff --git a/util.c b/util.c index 723c819..adb7800 100644 --- a/util.c +++ b/util.c @@ -504,7 +504,7 @@ static PyTypeObject itemiter_pytype_skel = { Py_TPFLAGS_BASETYPE, /* @tp_doc@ */ -"Iterates over the keys of a mapping.", + "Iterates over the items of a mapping.", 0, /* @tp_traverse@ */ 0, /* @tp_clear@ */ @@ -562,7 +562,7 @@ static PyTypeObject valiter_pytype_skel = { Py_TPFLAGS_BASETYPE, /* @tp_doc@ */ -"Iterates over the values of a mapping.", + "Iterates over the values of a mapping.", 0, /* @tp_traverse@ */ 0, /* @tp_clear@ */ @@ -845,7 +845,7 @@ static PyObject *meth__set_home_module(PyObject *me, PyObject *arg) static const PyMethodDef methods[] = { #define METHNAME(func) meth_##func - METH (_set_home_module, "_set_home_module(MOD)") + METH (_set_home_module, "_set_home_module(MOD)") #undef METHNAME { 0 } }; -- 2.11.0