mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
are used. Move also _Py_IDENTIFIER() defintions to the top in modified files to remove identifiers duplicated in the same file.
This commit is contained in:
parent
07e9e380f9
commit
bd303c165b
17 changed files with 93 additions and 89 deletions
|
|
@ -185,7 +185,7 @@ normalizeUserObj(PyObject *obj)
|
|||
}
|
||||
}
|
||||
if (modname != NULL) {
|
||||
if (_PyUnicode_CompareWithId(modname, &_PyId_builtins) != 0) {
|
||||
if (PyUnicode_CompareWithASCIIString(modname, "builtins") != 0) {
|
||||
PyObject *result;
|
||||
result = PyUnicode_FromFormat("<%U.%s>", modname,
|
||||
fn->m_ml->ml_name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue