diff options
Diffstat (limited to 'Doc/ext/noddy2.c')
-rw-r--r-- | Doc/ext/noddy2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/ext/noddy2.c b/Doc/ext/noddy2.c index b1e620e..fcce2ab 100644 --- a/Doc/ext/noddy2.c +++ b/Doc/ext/noddy2.c @@ -184,5 +184,6 @@ initnoddy2(void) if (m == NULL) return; + Py_INCREF(&NoddyType); PyModule_AddObject(m, "Noddy", (PyObject *)&NoddyType); } |