diff Python/compile.c @ 37418:cea54c9d921d legacy-trunk

Don't abbreviate ABS, use long name ABSOLUTE.
author Neal Norwitz <nnorwitz@gmail.com>
date Mon, 03 Apr 2006 06:26:32 +0000
parents 5e1cf21d4ab2
children 04afb3650847
line wrap: on
line diff
--- a/Python/compile.c	Mon Apr 03 05:29:03 2006 +0000
+++ b/Python/compile.c	Mon Apr 03 06:26:32 2006 +0000
@@ -2476,7 +2476,7 @@
 		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 @@
 		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);