diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-11-06 23:43:05 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-11-06 23:43:05 (GMT) |
commit | 53e9ec48e53840d2af24d7262908e6fc9837e856 (patch) | |
tree | 478e4dfbe1489a45b4a0c67c5247ca8d6430209f /Python/import.c | |
parent | ad14ccd047022d09f486d2359a342ffc5e676e5a (diff) | |
download | cpython-53e9ec48e53840d2af24d7262908e6fc9837e856.zip cpython-53e9ec48e53840d2af24d7262908e6fc9837e856.tar.gz cpython-53e9ec48e53840d2af24d7262908e6fc9837e856.tar.bz2 |
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 c96106f..aea29e2 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) |