mirror of
https://github.com/python/cpython.git
synced 2024-11-26 11:24:40 +08:00
remove nogus reload check
This commit is contained in:
parent
a0d7a23398
commit
6da5bfad0f
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user