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 /Modules/_lsprof.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 'Modules/_lsprof.c')
-rw-r--r-- | Modules/_lsprof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_lsprof.c b/Modules/_lsprof.c index 8947889..3ef7d65 100644 --- a/Modules/_lsprof.c +++ b/Modules/_lsprof.c @@ -185,7 +185,7 @@ normalizeUserObj(PyObject *obj) } } if (modname != NULL) { - if (PyUnicode_CompareWithASCIIString(modname, "builtins") != 0) { + if (_PyUnicode_CompareWithId(modname, &_PyId_builtins) != 0) { PyObject *result; result = PyUnicode_FromFormat("<%U.%s>", modname, fn->m_ml->ml_name); |