turn this into a macro

This commit is contained in:
Benjamin Peterson 2009-05-06 02:43:58 +00:00
parent 608d8bcdfc
commit 81c447f4d8
2 changed files with 2 additions and 39 deletions

View file

@ -4146,14 +4146,6 @@ PySocketModule_APIObject PySocketModuleAPI =
NULL
};
PySocketModule_APIObject *
PySocketModule_ImportModuleAndAPI(void)
{
void *api;
api = PyCapsule_Import(PySocket_CAPSULE_NAME, 1);;
return (PySocketModule_APIObject *)api;
}
/* Initialize the _socket module.