commit | a57fb011f17bd0f382f6d0a81e8733d81ee34353 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Aug 16 08:54:58 1991 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Aug 16 08:54:58 1991 +0000 |
tree | dec7e3a2a30306a35fd8bd7eb8617522b79f6733 | |
parent | abe5835b4f308f87db83a3ae091e3273d8705497 [diff] |
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 128d37e..01cd5fa 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c
@@ -521,9 +521,9 @@ object * getbuiltin(name) - char *name; + object *name; { - return dictlookup(builtin_dict, name); + return dict2lookup(builtin_dict, name); } /* Predefined exceptions */