Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 37431fb

Browse files
committed
initmodule3 -> initmodule3
1 parent 970a0a2 commit 37431fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Modules/newmodule.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -142,5 +142,6 @@ You need to know a great deal about the interpreter to use this!";
142142
void
143143
initnew()
144144
{
145-
initmodule3("new", new_methods, new_doc, (object *)NULL);
145+
initmodule4("new", new_methods, new_doc, (object *)NULL,
146+
PYTHON_API_VERSION);
146147
}

0 commit comments

Comments
 (0)