commit | ecd9129c94318135b38578f896d00f895f1b231a | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Fri Jan 02 23:25:32 2004 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Fri Jan 02 23:25:32 2004 +0000 |
tree | 37460d2a5c9327242f27647fbbe298a5f399c0aa | |
parent | 203eec46c1c5319d22ba95ab57f638fb3e86ae4c [diff] |
Add comment to mollify Tim.
diff --git a/Python/import.c b/Python/import.c index 77a5605..e6ea3dd 100644 --- a/Python/import.c +++ b/Python/import.c
@@ -594,6 +594,8 @@ m = PyImport_AddModule(name); if (m == NULL) return NULL; + /* If the module is being reloaded, we get the old module back + and re-use its dict to exec the new code. */ d = PyModule_GetDict(m); if (PyDict_GetItemString(d, "__builtins__") == NULL) { if (PyDict_SetItemString(d, "__builtins__",