Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
minor change
  • Loading branch information
koubaa committed Sep 7, 2020
commit b00a02d77abb9ef58ad4b65a564300e3bbd31c00
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Port the :mod:`overlapped` extension module to multi-phase initialization
Port the :mod:`_overlapped` extension module to multi-phase initialization
(:pep:`489`).
3 changes: 2 additions & 1 deletion Modules/overlapped.c
Original file line number Diff line number Diff line change
Expand Up @@ -1942,8 +1942,9 @@ overlapped_exec(PyObject *module)

Py_DECREF(socket_module);

if (initialize_function_pointers() < 0)
if (initialize_function_pointers() < 0) {
return -1;
}

OverlappedState *st = overlapped_get_state(module);
st->overlapped_type = (PyTypeObject *)PyType_FromModuleAndSpec(
Expand Down