Change getbuiltin interface to get the name as an object;

call dict2lookup insteead of dictlookup.
This commit is contained in:
Guido van Rossum 1991-08-16 08:54:58 +00:00
parent abe5835b4f
commit a57fb011f1

View file

@ -521,9 +521,9 @@ static object *builtin_dict;
object *
getbuiltin(name)
char *name;
object *name;
{
return dictlookup(builtin_dict, name);
return dict2lookup(builtin_dict, name);
}
/* Predefined exceptions */