Patch #568124: Add doc string macros.

This commit is contained in:
Martin v. Löwis
2002-06-13 20:33:02 +00:00
parent 654c11ee3a
commit 14f8b4cfcb
63 changed files with 1509 additions and 1625 deletions

View File

@@ -209,11 +209,11 @@ module_traverse(PyModuleObject *m, visitproc visit, void *arg)
return 0;
}
static char module_doc[] =
PyDoc_STRVAR(module_doc,
"module(name[, doc])\n\
\n\
Create a module object.\n\
The name must be a string; the optional doc argument can have any type.";
The name must be a string; the optional doc argument can have any type.");
PyTypeObject PyModule_Type = {
PyObject_HEAD_INIT(&PyType_Type)