summaryrefslogtreecommitdiff
path: root/Python/importdl.h
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-07-01 23:00:22 +0200
committerChristian Heimes <christian@cheimes.de>2013-07-01 23:00:22 +0200
commit9dc893c954b626685fc5bb12a040e22a41a8958d (patch)
treec42918d40b287e76ae260b4c402ce62ed813087d /Python/importdl.h
parentd71dc179c59f0a6e74087ecea134164f0e184ee8 (diff)
parent691afb4d9f2a095f89c6e4011807a185fa661bb7 (diff)
downloadcpython-9dc893c954b626685fc5bb12a040e22a41a8958d.tar.gz
Issue #18339: use with self.assertRaises() to make test case more readable
Diffstat (limited to 'Python/importdl.h')
-rw-r--r--Python/importdl.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/Python/importdl.h b/Python/importdl.h
index 6b9cf750a4..6a51a91d2c 100644
--- a/Python/importdl.h
+++ b/Python/importdl.h
@@ -18,13 +18,8 @@ extern PyObject *_PyImport_LoadDynamicModule(PyObject *name, PyObject *pathname,
#include <windows.h>
typedef FARPROC dl_funcptr;
#else
-#if defined(PYOS_OS2) && !defined(PYCC_GCC)
-#include <os2def.h>
-typedef int (* APIENTRY dl_funcptr)();
-#else
typedef void (*dl_funcptr)(void);
#endif
-#endif
#ifdef __cplusplus