diff options
author | Fred Drake <fdrake@acm.org> | 2001-11-17 06:50:42 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-11-17 06:50:42 (GMT) |
commit | ef6373a4f67d1921443fa8572927ce089e779b96 (patch) | |
tree | d04bbedf057acc73d0298653f9bd57990b0fc8ba /Doc/ext/embedding.tex | |
parent | 50ecc15d05837123d34e088863083ee39800a502 (diff) | |
download | cpython-ef6373a4f67d1921443fa8572927ce089e779b96.zip cpython-ef6373a4f67d1921443fa8572927ce089e779b96.tar.gz cpython-ef6373a4f67d1921443fa8572927ce089e779b96.tar.bz2 |
Exhibit good form in C code: always provide docstrings in method tables, and
always fill in all slots of table entries.
Fixed a few minor markup errors.
Diffstat (limited to 'Doc/ext/embedding.tex')
-rw-r--r-- | Doc/ext/embedding.tex | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/ext/embedding.tex b/Doc/ext/embedding.tex index 90663dc..453a939 100644 --- a/Doc/ext/embedding.tex +++ b/Doc/ext/embedding.tex @@ -231,9 +231,10 @@ emb_numargs(PyObject *self, PyObject *args) return Py_BuildValue("i", numargs); } -static PyMethodDef EmbMethods[]={ - {"numargs", emb_numargs, METH_VARARGS}, - {NULL, NULL} +static PyMethodDef EmbMethods[] = { + {"numargs", emb_numargs, METH_VARARGS, + "Return the number of arguments received by the process."}, + {NULL, NULL, 0, NULL} }; \end{verbatim} |