comparison Python/sysmodule.c @ 4904:5dc20a9e0506 legacy-trunk

Make builtin_module_names a tuple instead of a list.
author Guido van Rossum <guido@python.org>
date Mon, 06 Jan 1997 22:55:54 +0000
parents 65d2d8e67da3
children 7a9cac7cb910
comparison
equal deleted inserted replaced
4903:6a629d278a18 4904:5dc20a9e0506
229 DECREF(name); 229 DECREF(name);
230 } 230 }
231 if (sortlist(list) != 0) { 231 if (sortlist(list) != 0) {
232 DECREF(list); 232 DECREF(list);
233 list = NULL; 233 list = NULL;
234 }
235 if (list) {
236 object *v = listtuple(list);
237 DECREF(list);
238 list = v;
234 } 239 }
235 return list; 240 return list;
236 } 241 }
237 242
238 void 243 void