Issue #15656: fixing code sample in extending doc
This commit is contained in:
parent
2b209cd78d
commit
8f773493b6
|
@ -735,13 +735,18 @@ Philbrick (philbrick@hks.com)::
|
|||
{NULL, NULL, 0, NULL} /* sentinel */
|
||||
};
|
||||
|
||||
::
|
||||
static struct PyModuleDef keywdargmodule = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
"keywdarg",
|
||||
NULL,
|
||||
-1,
|
||||
keywdarg_methods
|
||||
};
|
||||
|
||||
void
|
||||
initkeywdarg(void)
|
||||
PyMODINIT_FUNC
|
||||
PyInit_keywdarg(void)
|
||||
{
|
||||
/* Create the module and add the functions */
|
||||
Py_InitModule("keywdarg", keywdarg_methods);
|
||||
return PyModule_Create(&keywdargmodule);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue