From: Guido van Rossum Date: Fri, 16 Aug 1991 08:54:58 +0000 (+0000) Subject: Change getbuiltin interface to get the name as an object; X-Git-Tag: v0.9.8~851 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a57fb011f17bd0f382f6d0a81e8733d81ee34353;p=thirdparty%2FPython%2Fcpython.git Change getbuiltin interface to get the name as an object; call dict2lookup insteead of dictlookup. --- diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 128d37ece278..01cd5fac3396 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 */