summaryrefslogtreecommitdiffstats
path: root/Python/importdl.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-09 17:46:45 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-09 17:46:45 (GMT)
commit6da5bfad0f8d22361c8d7b45c1fd26789dd0635c (patch)
tree33f867b21a9d8989884d4dc8062f8f1a988ef352 /Python/importdl.c
parenta0d7a233981ce56c74d3fd6a4fb0cadac08a7654 (diff)
downloadcpython-6da5bfad0f8d22361c8d7b45c1fd26789dd0635c.zip
cpython-6da5bfad0f8d22361c8d7b45c1fd26789dd0635c.tar.gz
cpython-6da5bfad0f8d22361c8d7b45c1fd26789dd0635c.tar.bz2
remove nogus reload check
Diffstat (limited to 'Python/importdl.c')
-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
{