Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6da5bfa

Browse files
committed
remove nogus reload check
1 parent a0d7a23 commit 6da5bfa

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Python/importdl.c

-5
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,6 @@ load_dynamic_module(name, pathname)
182182
object *m;
183183
char funcname[258];
184184
dl_funcptr p = NULL;
185-
if (m != NULL) {
186-
err_setstr(ImportError,
187-
"cannot reload dynamically loaded module");
188-
return NULL;
189-
}
190185
sprintf(funcname, FUNCNAME_PATTERN, name);
191186
#ifdef WITH_MAC_DL
192187
{

0 commit comments

Comments
 (0)