Commit d2b3a3bd authored by Guido van Rossum's avatar Guido van Rossum

Intern the string "__complex__".

parent 01bbf011
......@@ -317,7 +317,7 @@ builtin_complex(self, args)
static object *complexstr;
object *f;
if (complexstr == NULL) {
complexstr = newstringobject("__complex__");
complexstr = PyString_InternFromString("__complex__");
if (complexstr == NULL)
return NULL;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment