Make builtin_module_names a tuple instead of a list.

This commit is contained in:
Guido van Rossum 1997-01-06 22:55:54 +00:00
parent 541cdd84ac
commit 8f49e12a0e
1 changed files with 5 additions and 0 deletions

View File

@ -232,6 +232,11 @@ list_builtin_module_names()
DECREF(list);
list = NULL;
}
if (list) {
object *v = listtuple(list);
DECREF(list);
list = v;
}
return list;
}