diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-05-06 02:43:58 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-05-06 02:43:58 (GMT) |
commit | 81c447f4d89273e629f42238d7714b7547aa21de (patch) | |
tree | 5a504ad30929358b35943a254614e3a9ace26dd1 /Modules/socketmodule.c | |
parent | 608d8bcdfc1762cde31efdf02a6379a06d7964b1 (diff) | |
download | cpython-81c447f4d89273e629f42238d7714b7547aa21de.zip cpython-81c447f4d89273e629f42238d7714b7547aa21de.tar.gz cpython-81c447f4d89273e629f42238d7714b7547aa21de.tar.bz2 |
turn this into a macro
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 6ec5220..de720e1 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -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. |