summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/importdl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Python/importdl.c b/Python/importdl.c
index 9afd9ec..70b6eb8 100644
--- a/Python/importdl.c
+++ b/Python/importdl.c
@@ -182,11 +182,6 @@ load_dynamic_module(name, pathname)
object *m;
char funcname[258];
dl_funcptr p = NULL;
- if (m != NULL) {
- err_setstr(ImportError,
- "cannot reload dynamically loaded module");
- return NULL;
- }
sprintf(funcname, FUNCNAME_PATTERN, name);
#ifdef WITH_MAC_DL
{