From a57fb011f17bd0f382f6d0a81e8733d81ee34353 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 16 Aug 1991 08:54:58 +0000 Subject: Change getbuiltin interface to get the name as an object; call dict2lookup insteead of dictlookup. --- Python/bltinmodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 128d37e..01cd5fa 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -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 */ -- cgit v0.12