diff options
-rw-r--r-- | Modules/newmodule.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/newmodule.c b/Modules/newmodule.c index f237a3a..4c8b16d 100644 --- a/Modules/newmodule.c +++ b/Modules/newmodule.c @@ -142,5 +142,6 @@ You need to know a great deal about the interpreter to use this!"; void initnew() { - initmodule3("new", new_methods, new_doc, (object *)NULL); + initmodule4("new", new_methods, new_doc, (object *)NULL, + PYTHON_API_VERSION); } |