summaryrefslogtreecommitdiffstats
path: root/Modules/_lsprof.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_lsprof.c')
-rw-r--r--Modules/_lsprof.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_lsprof.c b/Modules/_lsprof.c
index 7e85dcf..1707679 100644
--- a/Modules/_lsprof.c
+++ b/Modules/_lsprof.c
@@ -186,13 +186,13 @@ normalizeUserObj(PyObject *obj)
modname = PyModule_GetName(mod);
if (modname == NULL) {
PyErr_Clear();
- modname = "__builtin__";
+ modname = "builtins";
}
}
else {
- modname = "__builtin__";
+ modname = "builtins";
}
- if (strcmp(modname, "__builtin__") != 0)
+ if (strcmp(modname, "builtins") != 0)
return PyUnicode_FromFormat("<%s.%s>",
modname,
fn->m_ml->ml_name);