diff Python/future.c @ 49621:96418f812f06 legacy-trunk

move unprefixed error into .c file
author Benjamin Peterson <benjamin@python.org>
date Thu, 30 Oct 2008 23:59:18 +0000
parents 52294af4b663
children fd25030223b0
line wrap: on
line diff
--- a/Python/future.c	Thu Oct 30 22:44:18 2008 +0000
+++ b/Python/future.c	Thu Oct 30 23:59:18 2008 +0000
@@ -8,6 +8,8 @@
 #include "symtable.h"
 
 #define UNDEFINED_FUTURE_FEATURE "future feature %.100s is not defined"
+#define ERR_LATE_FUTURE \
+"from __future__ imports must occur at the beginning of the file"
 
 static int
 future_check_features(PyFutureFeatures *ff, stmt_ty s, const char *filename)