From 8d751616710f480833e87c5b752a4d2aecee58a1 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 18 Jan 1997 08:04:16 +0000 Subject: Intern the string "__complex__". --- Python/bltinmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 0eaf4ed..b3cb6f7 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -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; } -- cgit v0.12