summaryrefslogtreecommitdiff
path: root/Python/import.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-11-07 23:07:29 +0100
committerVictor Stinner <victor.stinner@gmail.com>2013-11-07 23:07:29 +0100
commit359ed22ea49d63923b451351ebf80decaaa7b79e (patch)
tree315b259308cae6069a685d9926be04cd9c074ad8 /Python/import.c
parent0256aab9761d4459c9ceb8fdb11e4fe86f2bdb69 (diff)
downloadcpython-359ed22ea49d63923b451351ebf80decaaa7b79e.tar.gz
Issue #19512, #19515: remove shared identifiers, move identifiers where they
are used. Move also _Py_IDENTIFIER() defintions to the top in modified files to remove identifiers duplicated in the same file.
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c
index aea29e28f3..c96106f373 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -310,7 +310,7 @@ PyImport_Cleanup(void)
/* XXX Perhaps these precautions are obsolete. Who knows? */
- value = _PyDict_GetItemId(modules, &_PyId_builtins);
+ value = PyDict_GetItemString(modules, "builtins");
if (value != NULL && PyModule_Check(value)) {
dict = PyModule_GetDict(value);
if (Py_VerboseFlag)