diff options
author | Guido van Rossum <guido@python.org> | 1991-08-16 08:54:58 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-08-16 08:54:58 (GMT) |
commit | a57fb011f17bd0f382f6d0a81e8733d81ee34353 (patch) | |
tree | dec7e3a2a30306a35fd8bd7eb8617522b79f6733 | |
parent | abe5835b4f308f87db83a3ae091e3273d8705497 (diff) | |
download | cpython-a57fb011f17bd0f382f6d0a81e8733d81ee34353.zip cpython-a57fb011f17bd0f382f6d0a81e8733d81ee34353.tar.gz cpython-a57fb011f17bd0f382f6d0a81e8733d81ee34353.tar.bz2 |
Change getbuiltin interface to get the name as an object;
call dict2lookup insteead of dictlookup.
-rw-r--r-- | Python/bltinmodule.c | 4 |
1 files 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 */ |