diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-12-24 16:27:25 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-12-24 16:27:25 (GMT) |
commit | 71e30a0438dcb8089b57d3c0d11c84c3e62e54d1 (patch) | |
tree | c734b6152c2d8c6817d2fd7bfdc2517262996392 /Doc/includes | |
parent | 80072cb7fa556f56ec3b3cea1ac00d0b0fa33419 (diff) | |
download | cpython-71e30a0438dcb8089b57d3c0d11c84c3e62e54d1.zip cpython-71e30a0438dcb8089b57d3c0d11c84c3e62e54d1.tar.gz cpython-71e30a0438dcb8089b57d3c0d11c84c3e62e54d1.tar.bz2 |
return the module object from PyMODINIT_FUNC
Diffstat (limited to 'Doc/includes')
-rw-r--r-- | Doc/includes/noddy.c | 1 | ||||
-rw-r--r-- | Doc/includes/noddy2.c | 1 | ||||
-rw-r--r-- | Doc/includes/noddy3.c | 1 | ||||
-rw-r--r-- | Doc/includes/noddy4.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/Doc/includes/noddy.c b/Doc/includes/noddy.c index 26a49a9..b6b7d6f 100644 --- a/Doc/includes/noddy.c +++ b/Doc/includes/noddy.c @@ -52,4 +52,5 @@ PyInit_noddy(void) Py_INCREF(&noddy_NoddyType); PyModule_AddObject(m, "Noddy", (PyObject *)&noddy_NoddyType); + return m; } diff --git a/Doc/includes/noddy2.c b/Doc/includes/noddy2.c index 5daecf9..db9c7a8 100644 --- a/Doc/includes/noddy2.c +++ b/Doc/includes/noddy2.c @@ -186,4 +186,5 @@ PyInit_noddy2(void) Py_INCREF(&NoddyType); PyModule_AddObject(m, "Noddy", (PyObject *)&NoddyType); + return m; } diff --git a/Doc/includes/noddy3.c b/Doc/includes/noddy3.c index 39cdfdb..e98b87f 100644 --- a/Doc/includes/noddy3.c +++ b/Doc/includes/noddy3.c @@ -239,4 +239,5 @@ PyInit_noddy3(void) Py_INCREF(&NoddyType); PyModule_AddObject(m, "Noddy", (PyObject *)&NoddyType); + return m; } diff --git a/Doc/includes/noddy4.c b/Doc/includes/noddy4.c index 94507ec..5be00a7 100644 --- a/Doc/includes/noddy4.c +++ b/Doc/includes/noddy4.c @@ -221,4 +221,5 @@ PyInit_noddy4(void) Py_INCREF(&NoddyType); PyModule_AddObject(m, "Noddy", (PyObject *)&NoddyType); + return m; } |