diff options
author | Guido van Rossum <guido@python.org> | 1995-01-12 11:37:57 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-12 11:37:57 (GMT) |
commit | 94390ec2a6ea5acbea9dead528ce067c396a0301 (patch) | |
tree | c21a7fa8324d17b76e00ae991621c0be673c3dba /Python/ceval.c | |
parent | 922d8ff8036c2916471163c78010d8deab9eefc2 (diff) | |
download | cpython-94390ec2a6ea5acbea9dead528ce067c396a0301.zip cpython-94390ec2a6ea5acbea9dead528ce067c396a0301.tar.gz cpython-94390ec2a6ea5acbea9dead528ce067c396a0301.tar.bz2 |
use getbuiltins() everywhere, it defaults to getbuiltidict()
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 79874ef..2d16ef8 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -28,6 +28,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "import.h" #include "sysmodule.h" +#include "bltinmodule.h" #include "compile.h" #include "frameobject.h" #include "eval.h" @@ -1691,7 +1692,7 @@ object * getbuiltins() { if (current_frame == NULL) - return NULL; + return getbuiltindict(); else return current_frame->f_builtins; } |