diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-11-07 00:43:05 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-11-07 00:43:05 +0100 |
commit | b727bdb13eb840c0d5ed319c2ca8e4c84c429e7b (patch) | |
tree | afc54e17fc8b6ddfa9afedec951cdcf81b6f78ce /Python/import.c | |
parent | 36fcb30e4fb853c47112a363d46b9e77f3c5e97d (diff) | |
download | cpython-b727bdb13eb840c0d5ed319c2ca8e4c84c429e7b.tar.gz |
Issue #19512: Use the new _PyId_builtins identifier
Diffstat (limited to 'Python/import.c')
-rw-r--r-- | Python/import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c index c96106f373..aea29e28f3 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_GetItemString(modules, "builtins"); + value = _PyDict_GetItemId(modules, &_PyId_builtins); if (value != NULL && PyModule_Check(value)) { dict = PyModule_GetDict(value); if (Py_VerboseFlag) |