Commit 4acf4eea authored by Guido van Rossum's avatar Guido van Rossum

Change getbuiltin interface to get the name as an object;

call dict2lookup insteead of dictlookup.
parent 9bec5149
......@@ -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 */
......
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