diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-04-03 06:26:32 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-04-03 06:26:32 +0000 |
commit | cbce280d4f3f1c4d86a989ab85c93f13ec7e00f9 (patch) | |
tree | bb203d57376de6d1377f8d810a3583bc08b796ab /Python/compile.c | |
parent | f5af2aac3805a7b6fc1d9b056b0662293bc0b274 (diff) | |
download | cpython-git-cbce280d4f3f1c4d86a989ab85c93f13ec7e00f9.tar.gz |
Don't abbreviate ABS, use long name ABSOLUTE.
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/compile.c b/Python/compile.c index d4fb638b4e..0f7246bf52 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -2476,7 +2476,7 @@ compiler_import(struct compiler *c, stmt_ty s) int r; PyObject *level; - if (c->c_flags && (c->c_flags->cf_flags & CO_FUTURE_ABSIMPORT)) + if (c->c_flags && (c->c_flags->cf_flags & CO_FUTURE_ABSOLUTE_IMPORT)) level = PyInt_FromLong(0); else level = PyInt_FromLong(-1); @@ -2524,7 +2524,7 @@ compiler_from_import(struct compiler *c, stmt_ty s) return 0; if (s->v.ImportFrom.level == 0 && c->c_flags && - !(c->c_flags->cf_flags & CO_FUTURE_ABSIMPORT)) + !(c->c_flags->cf_flags & CO_FUTURE_ABSOLUTE_IMPORT)) level = PyInt_FromLong(-1); else level = PyInt_FromLong(s->v.ImportFrom.level); |