summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-11-06 23:43:05 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-11-06 23:43:05 (GMT)
commit53e9ec48e53840d2af24d7262908e6fc9837e856 (patch)
tree478e4dfbe1489a45b4a0c67c5247ca8d6430209f /Python
parentad14ccd047022d09f486d2359a342ffc5e676e5a (diff)
downloadcpython-53e9ec48e53840d2af24d7262908e6fc9837e856.zip
cpython-53e9ec48e53840d2af24d7262908e6fc9837e856.tar.gz
cpython-53e9ec48e53840d2af24d7262908e6fc9837e856.tar.bz2
Issue #19512: Use the new _PyId_builtins identifier
Diffstat (limited to 'Python')
-rw-r--r--Python/import.c2
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)