Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 53824:b666e72f602f
turn this into a macro
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Wed, 06 May 2009 02:43:58 +0000 |
| parents | 911df82bc25d |
| children | c9bd62efe6ce debb245ebb40 |
line wrap: on
line diff
--- a/Modules/socketmodule.c Tue May 05 23:23:31 2009 +0000 +++ b/Modules/socketmodule.c Wed May 06 02:43:58 2009 +0000 @@ -4146,14 +4146,6 @@ NULL }; -PySocketModule_APIObject * -PySocketModule_ImportModuleAndAPI(void) -{ - void *api; - api = PyCapsule_Import(PySocket_CAPSULE_NAME, 1);; - return (PySocketModule_APIObject *)api; -} - /* Initialize the _socket module.
